Mercurial > geeqie
view doc/wiki2docbook/headingsNormalizer.about.txt @ 1811:f405ec9b696b default tip
Some small logic mistakes
Use boolean operators for booleans and bitwise otherwise only.
author | mow |
---|---|
date | Mon, 10 May 2010 11:33:13 +0000 |
parents | 2ae81598b254 |
children |
line wrap: on
line source
Credits: Filipe Correia This stylesheet can be applied to xhtml documents. It ensures one one h1 element exists per document. If the input document has only one h1 element it just copies all nodes to the output, otherwise it adds a new top level (h1) heading and depromotes every existing heading to a lower level (ie, h1s turn into h2s, h2s turn into h3s, etc).