From 9f898ef5c2b9f318335953231e3bb262a2b0c196 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Tue, 19 Feb 2008 18:14:57 +0000 Subject: [PATCH] Fix bug with # as first syllable on line, I think. Originally committed to SVN as r1862. --- automation/include/karaskel-auto4.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/include/karaskel-auto4.lua b/automation/include/karaskel-auto4.lua index 9e023e112..c4a51ec77 100644 --- a/automation/include/karaskel-auto4.lua +++ b/automation/include/karaskel-auto4.lua @@ -219,7 +219,7 @@ function karaskel.preproc_line_text(meta, styles, line) end -- Syllables that aren't part of a multi-highlight generate a new output-syllable - if prefix ~= "#" and prefix ~= "#" then + if not worksyl.text or (prefix ~= "#" and prefix ~= "#") then -- Update stripped line-text line.text_stripped = line.text_stripped .. prespace .. syltext .. postspace