mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Fix jshint issue with [^]
in regexp.
This commit is contained in:
parent
d410f043a9
commit
3901ddd153
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue