From: Andy S. <an...@ru...> - 2007-07-12 17:56:34
|
Patrick,=20 There is new syntax in Xilize3 for precisely this situation. See below: > Hi, using Xilize 3.0.3 beta. > > I have the following block: > > bcx. > private void run(String[] args) throws Exception { > loadAndCheckArgs(args); > > // Create a JPanel subclass to render the page > XHTMLPanel panel =3D new XHTMLPanel(); > > > which creates the following XHTML > <pre><code>private void run(String[] args) throws Exception { > loadAndCheckArgs(args); > </code></pre> > > <p>// Create a JPanel subclass to render the page<br> > XHTMLPanel panel =3D new XHTMLPanel(); > > The <pre> is ending at the first blank line; I expect it to be broken > by the first block signature (e.g. a p.). This is a problem because > the sample code is about 15 lines long. If I add to the lines it > doesn't break, e.g. Use: bcx. {{ private void run(String[] args) throws Exception { =A0 =A0 loadAndCheckArgs(args); =A0 =A0 // Create a JPanel subclass to render the page =A0 =A0 XHTMLPanel panel =3D new XHTMLPanel(); }} The "{{" and "}}" extend the scope of a signature, any signature except for= =20 "p." You can also use this for nesting: bq. {{ some text in a blockquote pre. some preformated text in the blockquote bq. {{ a blockquote within the blockquote which itself has multiple blocks }} }} Yet another item not obvious in the current documentation. Please keep=20 pointing these things out so I can include them in the next doc update when= I=20 find time to do that. Andy |