Author: zaran.krleza
Description:
Patch to add colon replacement at the beginning of verses
In wikisource where the poem extension is mainly used, it has become common practice to use one or several colons at the beginning of indented verses. This is the most practical solution to get em spaces (the typographic rule is to indent shortest verses by one em space for each missing foot compared to the longest verse). However, the html generated code is really ugly in those cases : sometimes up to 5 or 6 nested definition lists.
My solution : inside the poem tag, replace the colons at the beginning of each line by em spaces: &s;emsp;. The result will be the same for the reader, but the underlying html code will be much cleaner.
Patch enclosed.
Version: unspecified
Severity: enhancement
Attached: