diff --git a/lib/docs/filters/cppref/clean_html.rb b/lib/docs/filters/cppref/clean_html.rb
index ced30f4d..07acfd45 100644
--- a/lib/docs/filters/cppref/clean_html.rb
+++ b/lib/docs/filters/cppref/clean_html.rb
@@ -109,6 +109,20 @@ module Docs
node['src'] = node['src'].sub! %r{http://en.cppreference.com/common/([^"']+?)\.svg}, 'http://upload.cppreference.com/mwiki/\1.svg'
end
+ # temporary solution due lack of mathjax/mathml support
+ css('.t-mfrac').each do |node|
+ fraction = Nokogiri::XML::Node.new('span', doc)
+
+ node.css('td').each do |node|
+ fraction.add_child("#{node.content}")
+ end
+
+ fraction.last_element_child().before("/")
+
+ node.before(fraction)
+ node.remove
+ end
+
doc
end
end