Closed f3ndot closed 12 years ago
We recently took over a project that requires some odd legacy tweaks. One such tweak is setting the default encoding for the entire app (internal and external) to ISO-8859-1 aka Latin1:
Encoding.default_external = Encoding.find("ISO-8859-1") Encoding.default_internal = Encoding.find("ISO-8859-1")
As a result, encountering the ELLIPSES constant sent HAML out of whack. I've fixed this by writing in the HTML Entity Code equivalent of the ...:
ELLIPSES
...
ELLIPSIS = '…'
I understand this is quite an edge-case, but it could be helpful to some.
Thanks! I've pushed the new version to rubygems.org.
We recently took over a project that requires some odd legacy tweaks. One such tweak is setting the default encoding for the entire app (internal and external) to ISO-8859-1 aka Latin1:
As a result, encountering the
ELLIPSES
constant sent HAML out of whack. I've fixed this by writing in the HTML Entity Code equivalent of the...
:I understand this is quite an edge-case, but it could be helpful to some.