Robin Ward
|
717f57c968
|
Revert "FIX: You couldn't span multiple lines with bold or italics"
This reverts commit 423d37a2b6.
Conflicts:
test/javascripts/lib/markdown_test.js
|
2014-07-28 13:17:39 -04:00 |
|
Robin Ward
|
8866141ba2
|
Merge pull request #2592 from Elberet/fix-parser
Fixes for quirky markdown parser behaviours
|
2014-07-28 13:12:22 -04: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 |
|
Robin Ward
|
423d37a2b6
|
FIX: You couldn't span multiple lines with bold or italics
|
2014-07-25 16:08:00 -04:00 |
|
Jens Maier
|
b19ad15086
|
FIX: improve list bbcodes: ignore newlines resulting in unnecessary blank lines
|
2014-07-24 19:39:16 +02:00 |
|
Jens Maier
|
79dc68512f
|
FIX: dialects accept nested inline markup
|
2014-07-24 17:34:13 +02:00 |
|
Robin Ward
|
0f23456259
|
FIX: Instead of patching markdown-js, fix the issue in Discourse.
|
2014-07-21 13:09:57 -04:00 |
|
Sam
|
91cd4f2d66
|
SECURITY: improve escaping protection
|
2014-07-17 16:11:10 +10:00 |
|
Robin Ward
|
1886ffaff2
|
FIX: Work with phpBB import style links with ellipsis
|
2014-07-14 14:27:17 -04:00 |
|
Robin Ward
|
186ce78cb5
|
FIX: BBCode sanitization and tests
|
2014-07-14 11:24:25 -04: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 |
|
Sam
|
dc9b6b53ad
|
PERF: editor could be crashed if you entered huge inline blocks
|
2014-07-04 12:49:50 +10: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 |
|
Robin Ward
|
9c48f8f154
|
FIX: Don't surround <aside> with <p> as that is malformed HTML.
|
2014-06-30 18:11:22 -04:00 |
|
Sam
|
e2e36a6df3
|
FIX: bold and italic handling improved
|
2014-06-30 17:01:46 +10:00 |
|
Sam
|
24ddb6cfad
|
FIX: Bold, italic should not expect a space boundary
|
2014-06-26 17:45:51 +10:00 |
|
Sam
|
b8357aa90a
|
BUGFIX: newline after bold was not producting a BR
|
2014-06-26 15:28:08 +10:00 |
|
Robin Ward
|
ff55a30dd7
|
FIX: <pre> blocks were adding too many new lines.
|
2014-06-23 15:21:07 -04:00 |
|
Robin Ward
|
42d1fcbbc2
|
[code] should work just like other kinda of code formatting.
|
2014-06-23 13:19:27 -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 |
|
Sam
|
107003576e
|
Simple workaround for username highlighting for long names
|
2014-05-25 13:54:52 +10:00 |
|
Robin Ward
|
f51cbc8952
|
FIX: @mentions should not be processed within links
|
2014-05-06 17:48:30 -04:00 |
|
Robin Ward
|
ba683bc611
|
FIX: XSS in markdown converter.
|
2014-04-28 14:44:15 -04:00 |
|
Robin Ward
|
4dc20e6855
|
FIX: Sanitize custom quote attributes
|
2014-04-21 10:19:39 -04:00 |
|
Robin Ward
|
ed6e2b1d79
|
Remove Zalgo API from Discourse.Mention:
http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony -
Thanks @riking for finding it.
|
2014-04-14 16:51:18 -04:00 |
|
Régis Hanol
|
e663d78104
|
SECURITY: sanitize markdown urls (prevent XSS)
|
2014-03-27 15:34:35 +01: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
|
6143753fef
|
Support uppercase bbcode too.
|
2014-03-03 11:59:57 -05:00 |
|
Robin Ward
|
3d62df51a6
|
FIX: Broken MDTest + Fix for removing leading spaces in a code block
|
2014-02-11 17:27:24 -05:00 |
|
Robin Ward
|
745cd0f4e9
|
FIX: Removes console.log
|
2014-01-22 11:07:19 -05:00 |
|
Robin Ward
|
e2c361f353
|
FIX: Indented code blocks followed by <blockquote> weren't working.
|
2014-01-21 16:18:20 -05: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
|
ad8755aa70
|
BUGFIX: inline spoiler for text, block spoiler for images
|
2014-01-15 00:53:06 +01: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 |
|
Sam
|
5bd595c9a6
|
FEATURE: default_code_lang for syntax highlighting is configurable
|
2013-12-17 12:08:29 +11: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
|
a7a7387da1
|
Automatically convert some quotes to blockquotes
|
2013-12-13 15:31:25 -05:00 |
|
Régis Hanol
|
9b6538832d
|
whitelist google.com/maps iframes
|
2013-11-29 18:08:53 +01: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
|
ac9a763ab3
|
FIX: Extra space before tags in blockquotes
|
2013-11-07 16:06:50 -05:00 |
|