-
assigned issue to
- edited description
parsing error with > in PHP filter
Issue #414
resolved
Original issue 414 created by @ysavourel on 2014-08-24T14:46:27.000Z:
I think I found a bug.
In the following text:
introAnswer3 = 'The utilisation of the vSGP may be limited due to specific constraints such as occurrence of hard rock, protection zones, unsuitable soil types or a slope > 15°.
Everything after the first single quote character until the greater than character (included) is marked as an inline non-translatable part.
Reference: https://groups.yahoo.com/neo/groups/okapitools/conversations/messages/4351
Comments (2)
-
-
- changed status to resolved
Merged fix from Denis as commit f91109be47.
- Log in to comment
Denis is looking at this.
The problem has to do with the default rule for the inline code finder:
This interprets the standalone '>' as the end of a partial tag and everything before it as part of the tag data.
The suggested fix is to make that regex more restrictive.