git.iko.soy/typeable/pandoc
on master help sign in
Simplified bullet characters so they work with Word 2007.

Closes #520.

commit5669dc2a47398384e192a42da506bec4364d3980 authorJohn MacFarlane <fiddlosopher@gmail.com> dateFri 1 Jun 2012, 18:44 (14 years ago) parentbe45b28
1 file changed+7−7
src/Text/Pandoc/Writers/Docx.hs+7−7
src/Text/Pandoc/Writers/Docx.hs+7−7
@@ -262,13 +262,13 @@ mkLvl marker lvl =
262262 ,show n)
263263 step = 720
264264 hang = 480
265− bulletFor 0 = "\8226"
266− bulletFor 1 = "\9702"
267− bulletFor 2 = "\8227"
268− bulletFor 3 = "\8259"
269− bulletFor 4 = "\8226"
270− bulletFor 5 = "\9702"
271− bulletFor _ = "\8227"
265+ bulletFor 0 = "\x2022" -- filled circle
266+ bulletFor 1 = "\x2013" -- en dash
267+ bulletFor 2 = "\x2022" -- hyphen bullet
268+ bulletFor 3 = "\x2013"
269+ bulletFor 4 = "\x2022"
270+ bulletFor 5 = "\x2013"
271+ bulletFor _ = "\x2022"
272272 styleFor UpperAlpha _ = "upperLetter"
273273 styleFor LowerAlpha _ = "lowerLetter"
274274 styleFor UpperRoman _ = "upperRoman"