Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

templatename extensions supports snake_case. Was: downcase #91

Closed
wants to merge 1 commit into from

Conversation

@teyrow
Copy link

@teyrow teyrow commented Nov 3, 2013

Subclassing a converter like class LatexFoo < Latex now looks for
template with extension latex_foo instead latexfoo. More conform
with the already existing method to_latex_foo .

To implementation might be too messy in order to keep backwards compatibility?

Subclassing a converter like `class LatexFoo < Latex` now looks for
template with extension `latex_foo` instead `latexfoo`. More conform
with the already existing method `to_latex_foo` .
@ghost ghost assigned gettalong Nov 8, 2013
@gettalong
Copy link
Owner

@gettalong gettalong commented Nov 16, 2013

Thanks for the bug report! I have implemented this in a backwards-compatible way. The old way of using convertername instead of converter_name for the conversion class ConverterName is still available but deprecated and will be removed in 2.0.

@gettalong gettalong closed this Nov 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants