Changeset 686

Show
Ignore:
Timestamp:
09/03/10 16:25:18 (21 months ago)
Author:
mgalloy
Message:

Forgot to fix headings for - and ~ underlined as well.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/parser/docparrstmarkupparser__define.pro

    r685 r686  
    261261      endif 
    262262 
    263       if (lines[l] eq string(replicate(byte('-'), lastLineLength))) then begin 
     263      if (strmid(lines[l], lastLineStart) eq string(replicate(byte('-'), lastLineLength - lastLineStart))) then begin 
    264264        header_level = 2 
    265265      endif 
    266266 
    267       if (lines[l] eq string(replicate(byte('~'), lastLineLength))) then begin 
     267      if (strmid(lines[l], lastLineStart) eq string(replicate(byte('~'), lastLineLength - lastLineStart))) then begin 
    268268        header_level = 3 
    269269      endif