Skip to content

Commit

Permalink
Fixed styling of comments that include markup inside markup (fixes #514
Browse files Browse the repository at this point in the history
…).
  • Loading branch information
pkulchenko committed Aug 19, 2015
1 parent fc408c7 commit 443903b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/markup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ local function ismarkup (tx)
local marksep = "[%s!%?%.,;:%(%)]"
while true do
-- find a separator first
local st,_,sep,more = string.find(tx, "(["..MD_MARK_PTRN.."]+)(.)", start)
local st,_,sep,more = string.find(tx, "(["..MD_MARK_PTRN.."])(.)", start)
if not st then return end

-- check if this is a first character of a multi-character separator
Expand Down

0 comments on commit 443903b

Please sign in to comment.