Last modified: 2014-07-24 12:49:51 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1393/ Reported by: ganz-ru Created on: 2012-01-14 17:37:31 Subject: cosmetic_changes.py and <code> Original description: Here: http://ru.wikipedia.org/w/index.php?diff=40245627&oldid=39731202 http://ru.wikipedia.org/w/index.php?diff=40765267&oldid=39425330 cosmetic\_changes.py replaced the internal internal html-text of <code>...</code> with unicode symbols. That's not good, since the tag <code> is for an original representation of codes, including the html-code. So, I propose to add this tag to the elist of exceptions.
- **assigned_to**: nobody --> xqt - **status**: open --> open-accepted
As I see, it just necessary to add this tag into arrays of exceptions and it does not requir editing of any other parts of code. So please accelerate the processing of of this bug.
Feel free to submit a patch.
@ganz-du: unfortunatelly this part of code does not use replaceExcept\(\) and we have no exceptions list where to add that tag.
- **assigned_to**: xqt --> nobody
duplicated by bug \#3530791 raising prio.
- **priority**: 5 --> 6
CosmeticChangesToolkit.resolveHtmlEntities\(\) deactivated in pyrev:10438 due to this bug
- **priority**: 6 --> 7
- **priority**: 7 --> 5
It happens because of the html2unicode function, it can be fixed either in textlib or cosmetic_changes.py