escape < to < in rich text
This commit is contained in:
parent
45e48969b5
commit
2a5e870a69
@ -111,11 +111,15 @@ static string plaintorich(const string &in, const list<string>& terms,
|
||||
ateol = true;
|
||||
} else {
|
||||
ateol = false;
|
||||
out += in[i];
|
||||
if (in[i] == '<') {
|
||||
out += "<";
|
||||
} else
|
||||
out += in[i];
|
||||
}
|
||||
}
|
||||
|
||||
termoffsets = cb.tboffs;
|
||||
LOGDEB(("plaintorich: text:\n%s\n", out.c_str()));
|
||||
return out;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user