9 10 11 12 13 14 15 16 17
# File 'lib/hemingway/math/math_nodes.rb', line 9 def html # Pretty bad hack, but I figure it ain't a big deal until I want to # support more rebust syntax. if value.text_value == "\\circ" "°" else Build.tag("sup", value.html) end end