| | 42 | |
| | 43 | Or: |
| | 44 | Original: `... 100%% ...` |
| | 45 | Translation: `... 100% ...` |
| | 46 | Previous Result: No warnings, %% is not a placeholder to check for. |
| | 47 | Expected Result: Warning, `%%` placeholder not present. |
| | 48 | |
| | 49 | Or: |
| | 50 | Original: `... <a href="%s>100 percent</a> ...` |
| | 51 | Translation: `... <a href="%s>100 %</a> ...` |
| | 52 | Previous Result: No warnings, %s placeholder exists. String will fail though since `%<` will be picked up by `printf()`. |
| | 53 | Expected Result: Warning, `%` not escaped. |
| | 54 | Fixer kicks in and converts the translation to `... <a href="%s>100 %%</a> ...` |
| | 55 | Final Result: String is accepted, no warnings. |