Sam
8967d50dc2
Clean up sanitization code
...
- remove html table test, this is soon to be deprecated
- move sanitization tests into pretty text.rb
- fix up whitelister so it makes a copy of options
2017-06-26 15:21:47 -04:00
Robin Ward
cc525b1a8d
Upgrade QUnit to latest version
2017-06-15 10:12:07 -04:00
Neil Lalonde
761cc688b4
FEATURE: add a setting to allow url schemes other than http(s)
2016-10-21 12:21:31 -04:00
Robin Ward
8b314304f2
FIX: We don't sanitize h ids anymore
2016-07-19 17:39:34 -04:00
Robin Ward
a546395397
REFACTOR: Migrate markdown functionality in ES6
2016-07-11 12:57:05 -04:00
Régis Hanol
896c23fadc
fix build
2015-11-12 18:02:13 +01:00
Marcus Rückert
9460ed1b60
Plain text files do not need to be executable
...
Found with rpmlint.
2015-05-12 13:21:22 +02:00
Régis Hanol
70f00e31df
FIX: pre-hoist code blocks & spans
2015-03-09 12:32:37 +01: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
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
5edec22e28
fix the build
2014-03-27 16:57:46 +01:00
Robin Ward
02ea67eece
BUGFIX: A MDTest was conflicting with BBCode support for upper case
2014-03-03 13:14:11 -05:00
Robin Ward
2e5413437d
Fix the build
2014-02-11 18:01:06 -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
d7182d0b14
FIX: Only wrap inline html tags in <p>
2013-10-18 15:21:05 -04:00
Robin Ward
f27413219e
Support for MDTest
2013-10-16 10:28:42 -04:00