Commit 0adc8d42 authored by Andras Mantia's avatar Andras Mantia
Browse files

Treat "<" as the end of a tag name. Fixes autoreplacement of opening/closing

tags in cases when a PHP area starts directly after a tag name. 

BUG: 106911
parent 30788ebf
......@@ -16,6 +16,8 @@ Version 3.5 (Release date: xx-xx-2004; Started 04-03-2004):
- allow CVS actions to be put on toolbars [#106023]
- open the files with the right encoding when restoring the last opened files on startup [#104512]
- add missing Romanian characters to the Insert Special Character dialog [#107549]
- treat "<" as the end of a tag name. Fixes autoreplacement of opening/closing
tags in cases when a PHP area starts directly after a tag name. [#106911]
- fix the Kommander XML scripts.
- improvements:
......
......@@ -205,7 +205,7 @@ void Tag::parse(const QString &p_tagStr, Document *p_write)
m_nameCol = m_area.bCol + 1;
uint pos = 1;
while (pos < strLength &&
!m_tagStr[pos].isSpace() && m_tagStr[pos] != '>' && m_tagStr[pos] != '\n')
!m_tagStr[pos].isSpace() && m_tagStr[pos] != '>' && m_tagStr[pos] != '<' && m_tagStr[pos] != '\n')
{
pos++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment