(xpathString)
| 118 | * Fix XPath double quote issues for Python string compatibility |
| 119 | */ |
| 120 | export function fixXpathDoubleQuoteIssues(xpathString) { |
| 121 | // avoid unescaped double quotes in Python strings |
| 122 | return xpathString.replace(/(\[@[a-zA-Z]+)="([^"]*)"]/g, "$1='$2']"); |
| 123 | } |
| 124 |
no outgoing calls
no test coverage detected