On 2013-01-30 11:28, Steffen Daode Nurpmeso wrote:
Ian Abbott <abbotti@mev.co.uk> wrote: |While on the subject, the backslash escapes at the ends of the lines |with a <URL> with a parenthesised comment on the following line is kind |of ugly. I'm sure it must be possible to re-work your script to avoid |the need for that. (I.e. if a line ends with a <URL> plus optional |whitespace, check if the following line starts with optional whitespace |plus parenthesised link text.)
Hmm. So i've reworked the (Pod-less) script to support multiple follow lines in the middle of nowhere, and changed the two links from which i remembered that it did matter.
This updated version also fixes the "trailing empty line after rules are included in data boxes" issue. And it uses normal text paragraphs for the comment text, forcing newline breaks via <br />, instead of using preformatted text for that, which makes it even nicer, since some of the dramatically long links will now be wrapped by browsers.
Self closing tags such as <br /> are only legal in xhtml, not plain html, so you'll need to output a XML declaration and a DOCTYPE in your script.
diff --git a/northamerica b/northamerica index 6aaf665..46cfaa9 100644 --- a/northamerica +++ b/northamerica @@ -59,7 +59,8 @@ # # For more about the first ten years of DST in the United States, see # Robert Garland's <http://www.clpgh.org/exhibit/dst.html> \ -# (``Ten years of daylight saving from the Pittsburgh standpoint'', Carnegie Library of Pittsburgh, 1927). +# (``Ten years of daylight saving from the Pittsburgh standpoint'', \ +# Carnegie Library of Pittsburgh, 1927).
It would still be great to get rid of the backslash line continuations and modify the script to work without them. -- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-