jlong / radius

A small, but powerful tag-based template language for Ruby modeled after the ones used in MovableType and TextPattern. It has tags similar to XML, but can be used to generate any form of plain text (HTML, e-mail, etc...).
MIT License
101 stars 21 forks source link

Chopping other namespaced tags #5

Closed jlong closed 14 years ago

jlong commented 14 years ago

The following code:

p = Radius::Parser.new
p p.parse('<fb:test>hello world</fb:test>')

outputs:

"<fb:test>hello world/fb:test>"
jemmyw commented 14 years ago

I've committed a fix to my fork: jemmyw/radius@6283a522e4ecf94ccd82b42b16d7eef7ef3d8de9

jlong commented 14 years ago

Thanks @jemmyw! Committed: 17972eeaa0b913c44881b598d3133c9d90410e6f

I've also made you a collaborator.

erik-megarad commented 14 years ago

I believe this patch breaks compatibility with 1.9.