Re: [quickbook] Problem with [pre element

Daniel James <[email protected]>
Newsgroups gmane.comp.lib.boost.documentation
Message-ID <CAHOE3yfb2ppPRQSm44H_AfTxcjipiu3==+4V64fwvnmThuvSqQ@mail.gmail.com>
On 12 April 2012 18:09, John Maddock <[email protected]> wrote:
>
> BTW this looks like a plain bug to me - stripping newlines after [pre seems
> fair enough, but I can't think of a legitimate use case for stripping all
> whitespace, but, <shrug> I guess ;-)

I had a look for places which would be affected by this. There's quite
a lot of markup along the lines of:

[pre
    some text
]

Which will add extra whitespace to the left of the block. I could
possibly unindent pre blocks in the same manner as code blocks, but
since they can contain a wider variety of markup, I'm a bit worried
that some markup might cause unexpectedly odd results. I'll look into
it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.