-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
In the following example, the color get mangled by typogriphy.
File typo.py:
from typogrify.filters import typogrify
print(typogrify("""
<html>
<head>
</head>
<body>
<style>
.rb {color:#B8797C; font-weight:bold; font-family: monospace;}
.bb {color:#99BDC2; font-weight:bold; font-family: monospace;}
</style>
</body>
</html>
"""))```
The result : `python /tmp/typo.py`
```html
<html>
<head>
</head>
<body>
<style>
.rb {color:#<span class="caps">B8797C</span>; font-weight:bold; font-family: monospace;}
.bb {color:#<span class="caps">99BDC2</span>; font-weight:bold; font-family: monospace;}
</style>
</body>
</html>Metadata
Metadata
Assignees
Labels
No labels