Robin Ward
434deb1bd3
SECURITY: Backported XSS fixes from Handlebars
2015-11-24 16:08:08 -05:00
Arpit Jalan
e25ee74209
FIX: handle topic/post creation when the language highlighting is turned off
2015-11-21 02:10:54 +05:30
kerryliu
cb9c603b6b
workaround for code block being parsed before quote block.
2015-09-01 09:13:51 -07:00
Robin Ward
f2db4bfcf3
FIX: Conflict in dialect method names broke code formatting
...
Sometimes newlines were being stripped from code contents due to the
table formatting using the same method name.
In the future we will be rewriting dialects to prevent this.
2015-08-24 16:30:42 -04:00
Sam
a82530012a
FEATURE: Allow selection of highlight js languages
...
PERF: stop loading highlight js on load
To get latest highlight js run bin/rake highlightjs:update
2015-03-13 16:18:59 +11:00
Régis Hanol
70f00e31df
FIX: pre-hoist code blocks & spans
2015-03-09 12:32:37 +01:00
Régis Hanol
9b9bd9c0a1
fix my git foo
2015-03-07 02:36:35 +01:00
Régis Hanol
f95c86ac72
FIX: hoist code blocks content before doing any kind of processing
2015-03-07 02:16:27 +01:00
riking
32cc31319f
FIX: Use lang- prefixes for HLJS; add nohighlight for ...
...
text; use a proper whiteListTag() call.
Old posts are not affected - no global rebake is necessary.
2014-10-05 14:58:47 -07:00
Sam Saffron
b0875f8332
Revert "Revert "FEATURE: fenced code blocks can hint with "pre" or "text"""
...
This reverts commit 4487d6a4c2 .
2014-09-18 15:15:42 +10:00
Robin Ward
4487d6a4c2
Revert "FEATURE: fenced code blocks can hint with "pre" or "text""
...
This reverts commit 943ad8d1d5 .
2014-09-17 12:17:32 -04:00
Sam Saffron
943ad8d1d5
FEATURE: fenced code blocks can hint with "pre" or "text"
...
Use ```pre or ```text for unhiglighted code blocks
2014-09-17 01:40:10 +10:00
Jens Maier
23002ae01c
Fix: block parser now uses regexes for end tags. solves code block case, where end tag must be on a line of its own.
2014-08-14 01:58:01 +02:00
Jens Maier
479eb64a76
FIX: rewrite replaceBlock logic to better handle mismatched nested quotes.
2014-07-27 16:07:47 +02:00
Robin Ward
ff55a30dd7
FIX: <pre> blocks were adding too many new lines.
2014-06-23 15:21:07 -04:00