mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
Fix jshint issue with [^]
in regexp.
This commit is contained in:
parent
d410f043a9
commit
3901ddd153
@ -9,7 +9,7 @@
|
||||
**/
|
||||
Discourse.BBCode = {
|
||||
|
||||
QUOTE_REGEXP: /\[quote=([^\]]*)\]((?:[^](?!\[quote=[^\]]*\]))*?)\[\/quote\]/im,
|
||||
QUOTE_REGEXP: /\[quote=([^\]]*)\]((?:[\s\S](?!\[quote=[^\]]*\]))*?)\[\/quote\]/im,
|
||||
|
||||
// Define our replacers
|
||||
replacers: {
|
||||
|
Loading…
Reference in New Issue
Block a user