summaryrefslogtreecommitdiffstats
path: root/lib/redcloth3.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redcloth3.rb')
-rw-r--r--lib/redcloth3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redcloth3.rb b/lib/redcloth3.rb
index b96ee7ab0..31051fa96 100644
--- a/lib/redcloth3.rb
+++ b/lib/redcloth3.rb
@@ -973,7 +973,7 @@ class RedCloth3 < String
if stln == "<p>"
out = "<p style=\"float:#{ algn }\">#{ out }"
else
- out = "#{ stln }<div style=\"float:#{ algn }\">#{ out }</div>"
+ out = "#{ stln }<span style=\"float:#{ algn }\">#{ out }</span>"
end
else
out = stln + out