Fix bug with # as first syllable on line, I think.

Originally committed to SVN as r1862.
This commit is contained in:
Niels Martin Hansen 2008-02-19 18:14:57 +00:00
parent d23733da21
commit 9f898ef5c2
1 changed files with 1 additions and 1 deletions

View File

@ -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