Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Enhancement request: add <Q> tag to Perl Monks Approved HTML

by jcb (Parson)
on Feb 01, 2016 at 03:28 UTC ( #1154156=monkdiscuss: print w/replies, xml ) Need Help??

I recently tried to use <q></q> for an inline quotation and was surprised that PerlMonks does not accept it. I come here to humbly ask that the <q> tag be added to the permitted tags list.

Replies are listed 'Best First'.
Re: Enhancement request: add <Q> tag to Perl Monks Approved HTML
by chacham (Prior) on Feb 01, 2016 at 16:25 UTC

    Common practice--don't quote me on it--is to replace the "q" with an "i", using italics instead.

Re: Enhancement request: add <Q> tag to Perl Monks Approved HTML
by LanX (Sage) on Feb 01, 2016 at 09:43 UTC
    > Visual user agents must ensure that the content of the Q element is rendered with delimiting quotation marks. Authors should not put quotation marks at the beginning and end of the content of a Q element.

    You have no quotation marks on your keyboard? ;)

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

      You mean inch-marks ("), right? There are no proper quotation marks on keyboards. They are language specific and accessed through alt+000s on PCs and option keys on Macs. :P Now, I dare you to call me pedantic! :P

      I'd like to see <q></q> supported (document semantics help automatic parsing) but in spirit I agree with you: ASCII "quotes" and <i></i> are serviceable and clear to humans and <q></q> would not be used enough to actually do much automatic parsing .

        > They are language specific ...

        I silently implied this point, approx. 99.9 % of all posts here are in English and the referenced W3C section motivates the use of <q> for language specific adaptation which is not really relevant here.

        I'd rather prefer better support for the already available PM-markup.

        <blockquote> is nice for quotes from other sites, especially perldoc related, but not really for citing previous comments in a thread.

        (see how I tried to use "email style" for your comment)

        So the problem is rather that we'd need a multitude of markups to mark all semantically different kind of quotes ( "so called", "citation" , code , perldoc, ...)

        Furthermore <code> can't distinguish between perl-code (which might be highlighted) or other languages or cut and paste from the console.

        Of course one could argue that all these markups, including <q> could be indicidually customized via CSS, but I doubt many monks really take advantage of manipulating their local CSS.

        update

        > You mean inch-marks ("), right?

        not only. there are different quotation marks, especially 'single quotes'

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!

        ) and it really sucks to paste code from the win console, b/c of all the useless whitespace breaking the format.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://1154156]
Approved by Athanasius
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-10-22 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?