diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/index.html | 1 | ||||
-rwxr-xr-x | js/stmd.js | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/js/index.html b/js/index.html index 7ba5a86..994b147 100644 --- a/js/index.html +++ b/js/index.html @@ -63,7 +63,6 @@ $(document).ready(function() { div#preview { height: 400px; overflow: scroll; } div.row { margin-top: 1em; } blockquote { font-size: 100%; } - h3 { margin-top: 0; margin-bottom: 0; padding: 0; font-size: 100%; } footer { color: #555; text-align: center; margin: 1em; } pre { display: block; padding: 0.5em; color: #333; background: #f8f8ff } #warnings li { color: red; font-weight: bold; } @@ -1064,7 +1064,7 @@ var incorporateLine = function(ln, line_number) { container.level = match[0].trim().length; // number of #s // remove trailing ###s: container.strings = - [ln.slice(offset).replace(/(?:(\\#) *#+| *#+) *$/,'$1')]; + [ln.slice(offset).replace(/(?:(\\#) *#*| *#+) *$/,'$1')]; break; } else if ((match = ln.slice(first_nonspace).match(/^`{3,}(?!.*`)|^~{3,}(?!.*~)/))) { |