Fix jshint issue with `[^]` in regexp.
This commit is contained in:
parent
d410f043a9
commit
3901ddd153
|
@ -9,7 +9,7 @@
|
||||||
**/
|
**/
|
||||||
Discourse.BBCode = {
|
Discourse.BBCode = {
|
||||||
|
|
||||||
QUOTE_REGEXP: /\[quote=([^\]]*)\]((?:[^](?!\[quote=[^\]]*\]))*?)\[\/quote\]/im,
|
QUOTE_REGEXP: /\[quote=([^\]]*)\]((?:[\s\S](?!\[quote=[^\]]*\]))*?)\[\/quote\]/im,
|
||||||
|
|
||||||
// Define our replacers
|
// Define our replacers
|
||||||
replacers: {
|
replacers: {
|
||||||
|
|
Loading…
Reference in New Issue