Releases: seangenabe/rubyfy
Releases · seangenabe/rubyfy
v4.0.0
v3.0.0
Renderer.render, and by extension rubyfy, has been changed to emit Array<string|HTMLElement> in order to account for invalid HTML being returned originally.
v2.0.0
- Migrated from CoffeeScript to ECMAScript 2015(-ish...). Only compatible from node v6, transform as necessary.
- (major) Removed undocumented parser option
Parser#regex. If anyone wants to override the regex I use in this module, please submit an issue for your case. - (major) Parser and renderer functions now return
undefinedinstead ofnullin cases where it did before. - (major) Parser now accepts input only from
Parser#parseinstead of the constructor and#text. The result ofparseis now invariant among multiple calls to it. - (major)
#hasRubyhas been removed. To check for ruby existence, check thehasRubyproperty of the returned array.