mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 22:52:40 +00:00
Update editor pattern match for DLs
This commit is contained in:
@@ -151,7 +151,8 @@ const Editor = createClass({
|
||||
|
||||
// definition lists
|
||||
if(line.includes('::')){
|
||||
const regex = /^([^\n]*?)::([^\n]*)(?:\n|$)/ym;
|
||||
// const regex = /^([^\n]*?)::([^\n]*)(?:\n|$)/ym;
|
||||
const regex = /^([^\n:]*?)::(.*)(?:\n|$)/ym;
|
||||
let match;
|
||||
while ((match = regex.exec(line)) != null){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user