Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tweak example - pandoc parses inside spans correctly

  • Loading branch information...
commit ccaa4e21b5289b46b045255fa0e5ef5c749c956c 1 parent 69ef678
@cboettig authored
View
4 tex-pandoc-tricks/clobber-span.html
@@ -1,2 +1,2 @@
-<p>The span element is <span class="some-class" title="some _title_">usually</span> parsed without parsing the text in it's elements.</p>
-<p><span class="some-class" data-html="true" title="some <em>title</em>&quot;&gt;But not if those elements contain HTML. </span></p>
+<p>The span element is usually parsed without parsing the text in its elements.<br /><span class="some-class" title="some _title_"><em>span text</em></span></p>
+<p><span class="some-class" data-html="true" title="some <em>title</em>&quot;&gt;But <em>not</em> if those elements contain HTML. </span></p>
View
5 tex-pandoc-tricks/clobber-span.md
@@ -1,4 +1,5 @@
-The span element is <span class="some-class" title="some _title_">usually</span> parsed without parsing the text in it's elements.
+The span element is usually parsed without parsing the text in its elements.
+<span class="some-class" title="some _title_">_span text_</span>
-<span class="some-class" data-html="true" title="some <em>title</em>">But not if those elements contain HTML. </span>
+<span class="some-class" data-html="true" title="some <em>title</em>">But _not_ if those elements contain HTML. </span>
Please sign in to comment.
Something went wrong with that request. Please try again.