Login  Register

Re: short and long descriptions

Posted by DavidJCobb on Oct 26, 2011; 4:23am
URL: https://support.nabble.com/short-and-long-descriptions-tp6927296p6931533.html

cadet1620 wrote
Great idea.  I'll have to try it.

One must also remove the short/long tags from the version that is being displayed, as in:
<n.regex_replace_all. pattern="\[\\?long_desc\]" replacement=" ">
  <n.regex_replace_all. pattern="\[short_desc\][^\b]+?\[/short_desc\]" replacement=" "><n.node_message_as_html/></n.regex_replace_all.>
</n.regex_replace_all.>
The pattern in the outer regex macro is broken, but other than that, yeah, that'd work perfectly.