vessillo / foxreplace

Automatically exported from code.google.com/p/foxreplace
0 stars 0 forks source link

Can't replace text inside <title> tag when "Replace HTML" is checked #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PRODUCING THE PROBLEM:
1. Add substitution group; Add URL = *google.ru*; check "Replace HTML"
2. Add substitution (Regular Expression):
     Replace:
    Поиск в Google
     with:
    Google Search
     Check "Match case"; [OK]; [OK]...
3. Go to google.ru, search any term.

EXPECTED OUTPUT:
Search results' page's title should be:
##search_term## - Google Search

ACTUAL RESULT:
##search_term## - Поиск в Google

VERSIONS:
Addon: FoxReplace 0.12.2
Browser: Mozilla Firefox 12.0 (12.0.0.4493)
OS: Windows 7 Home Premium

ADDITIONAL INFO:
Other entries for that substitution group work fine. In fact, that *specific* 
entry works when you go back to "google.ru"; the first button reads the 
replaced text just fine, but that text isn't in the <title> tag.

If someone can follow the steps I took and it works, then just saying so would 
help; it would probably mean it's just a conflict with one of my other addons.

Thanks!

Original issue reported on code.google.com by o.BenHar...@gmail.com on 5 May 2012 at 6:13

GoogleCodeExporter commented 9 years ago
There's an easy workaround that is not to check "Replace HTML". Also, "Regular 
Expression" is not needed in this case.

But it's a bug indeed.

Original comment by marc.r...@gmail.com on 6 May 2012 at 3:51