[bugfix] Avoid dupliate reference names
The old implementation failed if there were autogenerated references not starting with 1. Now an iterator was implemented which creates the next unused number (upto 999 but this should be enough) Other improvements: - always use double quotes with references - modify pattern to find single quotes in reference names - remove regext o clean title (\s includes [\n\r\t]) - rename self.NAMES.match(params) to found - use removeDisabledPart function only once Bug: T278040 Change-Id: Ie082dea4334e62f6818a208b86704b3a8afcd0ad
X
xqt committed
1879f23728a147fbf0cb02a7d87dc4b1cee4a4eb
Parent: 26030b4