Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by jcb (Parson)
on Feb 01, 2016 at 03:28 UTC ( [id://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 (Saint) 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?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-03-29 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found