You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use hamlpy for an web app with django and Angularjs.
Angularjs introduces html tags with hyphen in tag name. Ex: ng-view
hamlpy is compiling
%ng-view
as
-view
but, the expected result is
Ruby Haml is handling these tags properly, hamlpy seems to have a bug.
The text was updated successfully, but these errors were encountered:
I temporarily got around this problem by changing the tag regular expression in HAML_REGEX of hamlpy.elements module
old tag regex: (?P%\w+(:\w+)?)?
changed tag regex: (?P%\w+(-\w+)?(:\w+)?)?
Hi,
I am trying to use hamlpy for an web app with django and Angularjs.
Angularjs introduces html tags with hyphen in tag name. Ex: ng-view
hamlpy is compiling
%ng-view
as
-view
but, the expected result is
Ruby Haml is handling these tags properly, hamlpy seems to have a bug.
The text was updated successfully, but these errors were encountered: