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
This can always be circumvented by using <%= tag.ELEMENT do %>, but could use sorting out. Only 3rd example feels actively useful, though (as for the other 2 tag.ELEMENT would provide a clearer code, I think).
Plan would likely be to override add_text to do some further scanning when adding a text node to try and detect one or several ERB tags, in a similar way that Kramdown's parse_raw_html does for HTML tags.
The text was updated successfully, but these errors were encountered:
Current parser extension, based on the sample in Kramdown's documentation, ignores ERB when it's nested inside HTML tags. For example:
This can always be circumvented by using
<%= tag.ELEMENT do %>
, but could use sorting out. Only 3rd example feels actively useful, though (as for the other 2tag.ELEMENT
would provide a clearer code, I think).Plan would likely be to override
add_text
to do some further scanning when adding a text node to try and detect one or several ERB tags, in a similar way that Kramdown'sparse_raw_html
does for HTML tags.The text was updated successfully, but these errors were encountered: