Commit daee59f7 authored by Skia's avatar Skia

Change spans to sub and sup markups

parent 5f1e4ebe
Pipeline #761 failed with stage
in 3 minutes and 8 seconds
......@@ -8,10 +8,10 @@ class SithRenderer(Renderer):
return reverse('core:file_detail', kwargs={'file_id': id}) + suffix
def exposant(self, text):
return """<span class="exposant">%s</span>""" % text
return """<sup>%s</sup>""" % text
def indice(self, text):
return """<span class="indice">%s</span>""" % text
return """<sub>%s</sub>""" % text
def underline(self, text):
return """<span class="underline">%s</span>""" % text
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment