mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Fix incorrect character check in tag detection logic
Changed the character check from '<' to '>' in the tag detection logic to properly toggle the tagOn variable. This corrects the behavior for closing tags, improving markup parsing accuracy. Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
This commit is contained in:
parent
7b0c79c5ee
commit
b4e5911d75
@ -207,7 +207,7 @@ namespace Nikse.SubtitleEdit.Core.Common
|
||||
{
|
||||
tagOn = true;
|
||||
}
|
||||
else if (ch == '<' || ch == '}')
|
||||
else if (ch == '>' || ch == '}')
|
||||
{
|
||||
tagOn = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user