Régis Hanol
91ec2c5171
fix eslint
2016-02-05 16:08:31 +01:00
Sam Saffron
e3747f654b
SECURITY: hoist blocks using guids, not md5 hashes
2016-02-06 01:02:48 +11:00
Robin Ward
434deb1bd3
SECURITY: Backported XSS fixes from Handlebars
2015-11-24 16:08:08 -05:00
James D
44b04e4521
Make @mentions following a slash link to usercards
...
A slash preceding an @mention was causing the markup for the usercard
link to not be generated. For example, the markdown
Pinging @bob/@joe
Would generate a usercard for @bob, but not @joe.
2015-10-16 19:18:46 -04:00
kerryliu
cb9c603b6b
workaround for code block being parsed before quote block.
2015-09-01 09:13:51 -07:00
Sam
d8d849ee84
hoist pre blocks last
2015-07-31 18:27:23 +10:00
Sam
568adc49c0
FIX: fenced code blocks not hoisted correctly
...
also fixes unhoisting logic
2015-07-31 17:53:20 +10:00
Sam
e93665b9f7
FEATURE: site setting to allow html tables (which may come from imports)
...
(allow_html_tables , disabled by default)
2015-07-20 16:56:46 +10:00
Régis Hanol
3954f69514
FIX: hoisting issue with regexp replacement patterns
2015-03-23 16:33:41 +01:00
Régis Hanol
aa41a9ce70
FIX: remove empty lines but keep whitespace on first line in code blocks
2015-03-17 17:27:16 +01:00
Régis Hanol
9061c26e52
FIX: code block hoisting bug
2015-03-12 11:17:00 +01: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
Robin Ward
13bf8e1e46
FIX: Markdown bug when a heading preceeded a code block.
2014-12-29 15:59:39 -05:00
Robin Ward
537e6b193d
FIX: Allow proper escaping of bold and italics markdown, even when
...
nested.
2014-09-22 16:52:14 -04:00
Jens Maier
30dbb570e5
FIX: fix dialect block ordering
2014-09-10 13:29:40 +02:00
Jens Maier
c58565d09f
Fix: dialect block parser should not eat next block's whitespace
2014-08-26 14:11:23 +02:00
Robin Ward
f10f9585ae
Better Support for whitelisting caja tags
2014-08-25 13:11:20 -04: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
90d14d9ffc
add comments and improve variable names
2014-07-28 19:03:34 +02:00
Jens Maier
479eb64a76
FIX: rewrite replaceBlock logic to better handle mismatched nested quotes.
2014-07-27 16:07:47 +02:00
Jens Maier
79dc68512f
FIX: dialects accept nested inline markup
2014-07-24 17:34:13 +02:00
Sam
f37c3dc916
FIX: hoisting not handling duplicate content
2014-07-07 15:01:08 +10:00
Robin Ward
914f0c3512
FIX: Don't surround oneboxes by paragraphs
2014-07-04 15:12:30 -04:00
Robin Ward
7ab98bb0e7
FIX: Missing formatting for oneboxes in preview
2014-07-04 14:15:07 -04:00
Robin Ward
fc1ce96dbb
FIX: Change the approach to sanitization. Includes a more detailed API
...
for allowing classes and attributes for only certain tag names.
2014-07-03 16:55:36 -04:00
Sam
24ddb6cfad
FIX: Bold, italic should not expect a space boundary
2014-06-26 17:45:51 +10:00
Robin Ward
ff55a30dd7
FIX: <pre> blocks were adding too many new lines.
2014-06-23 15:21:07 -04:00
Robin Ward
c6b92f0ef7
FIX: Support for nested bold/italics in MD
2014-06-09 17:46:36 -04:00
Robin Ward
d46fc79344
FIX: winky emoticons were matching with non-spaces before them.
2014-06-04 15:48:27 -04:00
Ben Lubar
73946e5402
quoting fixes
...
- allow bbcode quotes to be nested
- don't allow the '=' to be omitted from quotes
- fix some css that made assumptions about nested quotes
2014-05-27 21:46:31 -05:00
Robin Ward
ba683bc611
FIX: XSS in markdown converter.
2014-04-28 14:44:15 -04:00
riking
86774fa5c1
Simplify return statements
2014-03-18 18:23:15 -07:00
riking
593f5df503
Corrections to JSDoc
2014-03-18 18:19:20 -07:00
Robin Ward
3c3449aa1b
Revert "New API for replacing elements in the final JsonML. Also changes spoiler"
...
This reverts commit 6b9b2d3d6a .
We have come up with a better solution that does not involve HTML
parsing.
2014-01-21 12:04:58 -05:00
Robin Ward
6b9b2d3d6a
New API for replacing elements in the final JsonML. Also changes spoiler
...
tag handling to be more robust with repsect to HTML content.
2014-01-20 15:15:50 -05:00
Régis Hanol
70161498b6
BUGFIX: spoiler tag on lightboxed images wasn't working
2014-01-12 19:38:46 +01:00
Robin Ward
a502266c42
Enable JSHINT's unused option. It caught a bunch of suspicious stuff which is fixed in this commit.
2013-12-30 13:30:22 -05:00
Robin Ward
4f7d440fa4
Remove unused hook.
2013-12-19 14:43:36 -05:00
Robin Ward
2326d4ceb7
FIX: text node emitters should always take strings as parameters even if they
...
return JsonML.
2013-12-16 15:41:46 -05:00
Robin Ward
549060867d
Updated documentation for inlineRegexp
2013-11-25 11:35:28 -05:00
Robin Ward
127c3d0e21
FIX: Performance regression on Markdown renderer.
2013-11-08 11:42:26 -05:00
Robin Ward
b51fb4d3fb
Sync up with markdown-js + our changes
2013-10-21 15:06:58 -04:00
Robin Ward
db2283b9d3
FIX: JSHint
2013-10-18 17:48:19 -04:00
Robin Ward
1113b8d7a8
FIX: Don't double sanitize values, allow blockquotes with leading text
2013-10-18 17:34:54 -04:00
Robin Ward
67771d6bdf
FIX: New line after blockquote
2013-10-16 10:28:48 -04:00
Robin Ward
f27413219e
Support for MDTest
2013-10-16 10:28:42 -04:00
Robin Ward
63f2187d72
FIX: Don't do intraword italics when prefixed by a forward slash
2013-08-30 10:56:41 -04:00
Robin Ward
c99cf64d70
FIX: Quoting within code blocks.
2013-08-29 14:42:31 -04:00