This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install this: | |
| http://vim.sourceforge.net/scripts/script.php?script_id=273 | |
| .vimrc setup: | |
| """ ctags | |
| map ,bt :!ctags -R . <CR> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/pyhole/utils.py b/pyhole/utils.py | |
| index 86a0180..5ff46e3 100644 | |
| --- a/pyhole/utils.py | |
| +++ b/pyhole/utils.py | |
| @@ -71,18 +71,20 @@ def spawn(func): | |
| def decode_entities(html): | |
| """Strip HTML entities from a string""" | |
| - html = re.sub("<[^>]*?>", "", html) | |
| - html = re.sub(" ", " ", html) |
NewerOlder