@@ -105,6 +105,7 @@ data Opt = Opt
105105 , optSmart :: Bool -- ^ Use smart typography
106106 , optOldDashes :: Bool -- ^ Parse dashes like pandoc <=1.8.2.1
107107 , optHtml5 :: Bool -- ^ Produce HTML5 in HTML
108+ , optHtmlQTags :: Bool -- ^ Use <q> tags in HTML
108109 , optHighlight :: Bool -- ^ Highlight source code
109110 , optHighlightStyle :: Style -- ^ Style to use for highlighted code
110111 , optChapters :: Bool -- ^ Use chapter for top-level sects
@@ -159,6 +160,7 @@ defaultOpts = Opt
159160 , optSmart = False
160161 , optOldDashes = False
161162 , optHtml5 = False
163+ , optHtmlQTags = False
162164 , optHighlight = True
163165 , optHighlightStyle = pygments
164166 , optChapters = False
@@ -431,6 +433,12 @@ options =
431433 return opt { optHtml5 = True }))
432434 "" -- "Produce HTML5 in HTML output"
433435
436+ , Option "" ["html-q-tags"]
437+ (NoArg
438+ (\opt -> do
439+ return opt { optHtmlQTags = True }))
440+ "" -- "Use <q> tags for quotes in HTML"
441+
434442 , Option "" ["ascii"]
435443 (NoArg
436444 (\opt -> return opt { optAscii = True }))
@@ -816,6 +824,7 @@ main = do
816824 , optSmart = smart
817825 , optOldDashes = oldDashes
818826 , optHtml5 = html5
827+ , optHtmlQTags = htmlQTags
819828 , optHighlight = highlight
820829 , optHighlightStyle = highlightStyle
821830 , optChapters = chapters
@@ -1009,6 +1018,7 @@ main = do
10091018 writerSourceDirectory = sourceDir,
10101019 writerUserDataDir = datadir,
10111020 writerHtml5 = html5,
1021+ writerHtmlQTags = htmlQTags,
10121022 writerChapters = chapters,
10131023 writerListings = listings,
10141024 writerBeamer = False,