NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Dashes (Score:2)
The HTML/XHTML entities are
—and–, not and [XHTML spec [w3.org]]. But for better browser support, you might want to use—and–instead.Test:
—is displayed as–is displayed as—is displayed as —–is displayed as –Re:Dashes (Score:1)
I must have missed it when I read the HTML DTD looking for it...
The entities are the same for HTML 4.01, but as you suggested, I used the numeric codes.
-- Godoy.