lib/hemingway/special/special_nodes.rb in hemingway-0.0.2 vs lib/hemingway/special/special_nodes.rb in hemingway-0.0.3

- old
+ new

@@ -1,7 +1,11 @@ module Hemingway - module SpecialNode - def html - character.text_value - end - end + module SpecialNode + def html + if character.text_value == "textbackslash{}" + "\\" + else + character.text_value + end + end + end end \ No newline at end of file