Convert ASCII typography into HTML entities using SmartyPants (libtext-typography-perl)
We’ve had the “typography” plugin of ikiwiki enabled in our config since the beginning of times. It requires the libtext-typography-perl package to work but it’s not enabled on the server nor mentioned in our doc.
This would do smart and nice things, for example, it would convert:
-
...
into…
-
'
into’
-
"
into“
or”
-
--
into—
It detects HTML (respects ) and
`
.
One problem I could detect is our use of for command line.
For example on /doc/first_steps/persistence/copy the --del
to rsync
becomes —
because it’s inside of a (and not a ).
If we take this into account while working on #15120, we might be able to activate this plugin without trouble.
Related issues
-
Blocked by #15120
Original created by @sajolida on 17229 (Redmine)