Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Converting quotation marks to a <q> element #684

Open
anasram opened this issue Nov 29, 2018 · 1 comment
Open

Feature request: Converting quotation marks to a <q> element #684

anasram opened this issue Nov 29, 2018 · 1 comment

Comments

@anasram
Copy link

anasram commented Nov 29, 2018

Just like when markdown language converts `foo` to <code>foo</code>, I propose to convert "foo" to <q>foo</q>.

@weeklyd3
Copy link

I think there should be a setting.

The HTML spec says:

Content inside a q element must be quoted from another source, whose address, if it has one, may
be cited in the cite attribute. The source may be fictional, as when quoting characters in a novel or
screenplay.
The text
This is a "post"?

isn't a quote, so the q tag is not appropriate for this use.

There should be something like

$this->setQuotes2Q(true);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants