diff options
author | Eike Rathke <erack@redhat.com> | 2015-10-21 01:48:17 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-10-21 10:45:54 +0200 |
commit | 84017530bc5579e02fc4a2a9d31fe36a9ad28518 (patch) | |
tree | 3d43bd8785ee72742ba3aab7251a6a5b5e4d3d2d /external/liborcus | |
parent | 9bfe1d13c04705ae5f27c2bf28af6f532b4e2084 (diff) |
properly check for ICU status so known tags get actually recognized
nIcuErr after the second RegexMatcher::find() call was
U_STRING_NOT_TERMINATED_WARNING hence a check for U_ZERO_ERROR failed
and a content string of "foo <emph>bar</emph> baz" became
"foo <emph>bar</emph> baz" which later provoked a missing ending
tag error.
This should had used U_SUCCESS(nIcuErr) instead and only worked by
chance. Apparently the warning wasn't issued in earlier ICU versions and
only introduced with 55 or 56.
Change-Id: I36482c928544fc6e8c0403997af33084a47d4bea
Diffstat (limited to 'external/liborcus')
0 files changed, 0 insertions, 0 deletions