Sebastien Roy wrote:
> Sebastien Roy wrote:
>> I'm currently writing some TML content under a project page, and
>> seemingly random parts of the content that I've written is repeated
>> dozens of times scattered throughout the page (seemingly recursively)
>> when rendered by the browser (Firefox in this case, but I suspect this
>> is the case with other browsers). The content consists of a few
>> sections of regular paragraph text, with quite a bit of unformatted
>> verbatim text.
>>
>> I suspect that this may be some subtle typo in my text causing this, but
>> I'd like to know if anyone has seen something like this and can offer me
>> a helpful whack across the head with a clue-by-four.
>>
>> The content is currently hidden, but I can un-hide it for anyone who
>> wishes to take a look and help me out.
>
> So, I've narrowed this down to the following line of verbatim
> pre-formatted text:
>
> show-link [-pP] [-o <field>,..]
>
> This line is actually just one of a large block of pre-formatted text,
> but I've reduced it to this one line. If I remove "[-o <field>,..]",
> then the problem goes away. With the "[-o <field>,..]", the entire page
> is substituted back into itself starting at the '[' character preceding
> "-o". This is just strange. I smell a bug.
Well, it's definitely a bug in that it's interpreting the text in a
non-documented way.
The problem is right where you point out:
[-pP] [-o <field>,..]
^
It's interpreting the ]space[ in an odd way.
The workarounds I see are:
1) Add a second space:
show-link [-pP] [-o <field>,..]
^^
2) Escape the 'offending' space
show-link [-pP] \[-o <field>,..]
^
3) Use HTML
I included #1 & 2 on your test page.
Derek
>
> -Seb
> _______________________________________________
> website-discuss mailing list
> [email protected]
>
--
Derek Cicero
Program Manager
Solaris Kernel Group, Software Division
_______________________________________________
website-discuss mailing list
[email protected]