Dan, please forgive me if i am not following you with regards to
patching code, doing a str_replace here and there. I get easily
confused with all the replacing, and cannot easily see why a
particular 'replace patch' exists (forgive the term).

I am more concerned to perhaps find a generally simpler solution,
requiring less, or no 'replacement patches'.

Re: & and XHTML
Please can you explain what the problem is with the '&' character and
XHTML compliance? Anything I can read up on this?

Re: $ and possible problems with variables and snippets:

Literal $ characters are no problem if the markup using $ characters
is precise. It may be  a problem if the regex is too loose, or the
markup defined too general.

At present a string like '$abc' in a page will be treated as markup
for a var, and $$abc as a snippet var. The latter is defined that way
and should not be a problem.  But $abc should not be trated as a var
at all, since it is not defined that way. It should be shown
literally. I don't know why for instance $pageLink is rendered as page
link text. I thought you had system variables for this: {p} {page}
{p0} {p1} {p2} etc. I recommend you remove the code which is
responsible for resolving any var of syntax $abc.

Re: [messages] in code* pages.

I am not sure what the problem is. Surely a markup  [messages] in a
code page should not do anything, but just shown literally. But if  a
snippet contains [messages] and is used somewhere in a normal page,
then it should be used as a marker for message display.

Generally most markup in code* pages should not be rendered when
viewing the code page. I am not sure how you handle this, but I
imagine that when viewing  a code page a different set of markup
rendering is enforced.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to