Ticket ID:

#208

Bug Report: $problem_report_204
Reported From: the Courtyard ($courtyard)
Reported By: No One ($no_one)
Reported On: 09-Dec-1998
Resolved: UNRESOLVED
Claimed: UNCLAIMED
Bug Group:
Summary: {link node=$help_help:{b:Help}} the compiler will complain about the node not being a string. There is some ctext-eval-error somwhere, looks like.

If you try the following:

{link node=$help_help:{b:Help}} the compiler will complain about the node not being a string. There is some ctext-eval-error somwhere, looks like.


On 09-Dec-1998 Bruce ($user_bruce) Comments:

$compiler.do_link() has the check in there that causes the error when saving the cml. However, both $plain_format and $html_format.do_link() both do an ._eval_ctext(), although both of them only process arg[1]. What's up with that? and they pass in args differently. Odd.


On 16-Dec-1998 Brandon ($brandon) Comments:

I added this because it needs plain-text for matching of links (when navigating), and it bombs out when it tries to do a string match against a frob :) The issue is that even though it could run the link through $plain_format before adding it to the link dict--it takes time to do that, and it may insert additional stuff not part of the acutal link name, like breaks, formatting or whatever. Basically, put your formatting codes outside the link, because we are limited to a text based system and it has to match against what is typed--not simply the general region you clicked in...


Pre-formatted text:
Mail Notification:


the Cold Dark