I'm working on some jQuery code to turn:
<blockquote>
Quote
<cite>Author</cite>
</blockquote>
into:
<blockquote>
<q>Quote</q>
<cite>Author</cite>
</blockquote>
So far I've been trying to loop through each block quote, detach the <cite> element, use jQueries wrapInner function to wrap the remaining string in the <q> element, then reattach the <cite> element.
The ultimate goal is to do something like this <http://24ways.org/2005/swooshy-curly-quotes-without-images/>. Except using jQuery to automate the placement of .bqstart & .bqend.
qtag around the non-marked-up string within ablockquoteelement?.bqstart/.bqendare not really necessary; this could be done directly withq:beforeandq:after.