spoiler multiline

merge-requests/208/head
fatchan 5 years ago
parent 219963096f
commit 5f455831a4
  1. 2
      helpers/posting/markdown.js

@ -8,7 +8,7 @@ const greentextRegex = /^>((?!>).+)/gm
, underlineRegex = /__(.+?)__/gm
, strikethroughRegex = /~~(.+?)~~/gm
, italicRegex = /\*\*(.+?)\*\*/gm
, spoilerRegex = /\|\|(.+?)\|\|/gm
, spoilerRegex = /\|\|([\s\S]+?)\|\|/gm
, detectedRegex = /(\(\(\(.+?\)\)\))/gm
, linkRegex = /https?\:&#x2F;&#x2F;[^\s<>\[\]{}|\\^]+/g
, codeRegex = /&#x60;&#x60;&#x60;([\s\S]+?)&#x60;&#x60;&#x60;/gm

Loading…
Cancel
Save