forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Williams" <william...@gmail.com>
Subject Re: [Code style]
Date Thu, 08 Jun 2006 15:35:24 GMT
On 6/8/06, Ross Gardler <rgardler@apache.org> wrote:
> Cyriaque Dupoirieux wrote:
> > Hi,
> >
> >    I have updated the document-v20.mod to be able to layout the code
> > style (italic, bold...). I need this to write generic code sample where
> > the generic part is in italic for instance.
> >    At the moment, the grammar only accepts simple text inside code tags.
> >      So my question is do we want it in the standard or do I keep my
> > local grammar ?
>
> Our "rule" is:
>
> If it is in our subset of XHTML we can add it, if not then we cannot add it.
>
> This prompts me to ask is code in XHTML 2? If not it should really be <p
> class="code">, in which case your problem would be solved.
>
> Ross

code is in XHTML2'[1].  It looks to me like you could have strong
nested inside it but not italic.  I reckon you'd have to use a
combination of strong and span to get what you are looking for inside
XHTML2.

--tim

[1] - http://www.w3.org/TR/xhtml2/mod-text.html#sec_9.3.

Mime
View raw message