-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Add footer
support to blockquote
#11660
Comments
@mdo You don't have to use footer it seems, there's an example without it:
|
@adridu59 Yup, I mentioned that in my opening comment:
So, we need to support the
Overall, not too bad, just have to wait for 3.1. |
@mdo Depends on whether you want to fully support the official spec. Also I'd pay attention to the fact that this is a nightly, things get dropped off of it sometimes. |
@adridu59 Good point regarding the nightly stuff—we'll want a more official spec to pull from if we do update the blockquote citations (with `footer or anything else)
Individual use cases aside, we do have to version control our code.
We'd never remove it from the project until v4 if it made sense. |
@mdo HTML5 and stable specs... no comment ;) |
The HTML5 specs:
There is no footer. Don't bother with it. http://html5doctor.com/cite-and-blockquote-reloaded/ http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-cite-element Html5 doctor most recent stuff mentions footer > cite, wrap the footer around the cite for an edge case where a cite might also be used in the body of a blockquote. The link you referenced above is using this set up:
That's using a figure, footer, and cite. Most people have rejected this approach and more recent examples on other parts of the site use cite with no figure, footer, etc. |
Personally, I would be in favor of replacing |
According to HTML5 Doctor, the <blockquote>
<p>
As my fellow HTML5 Doctor, Oli Studholme has showed, people seldom quote exactly
– so sacrosanctity of the quoted text isn’t a useful ideal – and in print etc,
citations almost always appear as part of the quotation – it’s highly conventional.
</p>
<footer>
— <cite><a href="http://www.brucelawson.co.uk/2013/on-citing-quotations-again/">Bruce Lawson</a></cite>
</footer>
</blockquote> Source: http://html5doctor.com/cite-and-blockquote-reloaded/. I can get down with that. |
…favor of footer
…favor of footer
According to http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-blockquote-element, the blockquote attribution in the HTML5 spec should be within a footer. Within that, specific references to bodies of works should be within
cite
elements. However, it also appearscite
on it's own will suffice (without thefooter
).This breaks backward compatibility if we go right into it, so we can't do that. #11408 got us close with the
cite
element, but that leaves out thefooter
element.Whatever solution we implement should account for all of this, and update the docs accordingly (with examples and links to the above spec).
The text was updated successfully, but these errors were encountered: