Skip to content

Commit

Permalink
fix: issue with quotes not parsing when slug ids contain "_"
Browse files Browse the repository at this point in the history
  • Loading branch information
akinsey committed Apr 20, 2020
1 parent 6bf1cc3 commit 5053908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ept-bbcode-parser/client/bbcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var XBBCODE = (function () {
sizePattern = /([1-9][\d]?p[xt]|(?:x-)?small(?:er)?|(?:x-)?large[r]?)/,
anchorPattern = /[#]?([A-Za-z][A-Za-z0-9_-]*)/,
smfQuotePattern = /(?:board=\d+;)?((?:topic|threadid)=[\dmsg#\.\/]{1,40}(?:;start=[\dmsg#\.\/]{1,40})?|action=profile;u=\d+)/,
eptQuotePattern = /^\/threads\/[a-z0-9\-]*\/posts[a-z0-9?\=\-#\&]*/i,
eptQuotePattern = /^\/threads\/[a-z0-9\-\_]*\/posts[a-z0-9?\=\-#\&\_]*/i,
tags,
tagList,
tagsNoParseList = [],
Expand Down

0 comments on commit 5053908

Please sign in to comment.