[Interchange-bugs] [Bug 171] New - Add Note feature needs filter on input to deal with certain characters.
bugzilla-daemon@localhost.akopia.com
bugzilla-daemon@localhost.akopia.com
Sat, 14 Apr 2001 05:40:38 -0400
http://developer.akopia.com/bugs/show_bug.cgi?id=171
*** shadow/171 Sat Apr 14 05:40:38 2001
--- shadow/171.tmp.8002 Sat Apr 14 05:40:38 2001
***************
*** 0 ****
--- 1,47 ----
+ Bug#: 171
+ Product: Interchange
+ Version: 4.7.x
+ Platform: PC
+ OS/Version: Windows 2000
+ Status: NEW
+ Resolution:
+ Severity: normal
+ Priority: P2
+ Component: Documentation
+ AssignedTo: alison@akopia.com
+ ReportedBy: jonc@webmaint.net
+ URL: http://developer.akopia.com/cgi-bin/ic/docfly.html?id=9abN3Snz&mv_arg=ictags03%2e28
+ Cc:
+ Summary: Add Note feature needs filter on input to deal with certain characters.
+
+ Hi,
+
+ I just added a note to the docs as follows:
+
+ as per MikeH on the interchange-users list:
+
+ -- you must use strict (i.e. my $val)
+ Also, you must have that in a BEGIN block to pick it up, otherwise you will
+ have to call the globalsub before it is defined.
+
+ GlobalSub <<EOR
+ sub new_filter {
+ BEGIN {
+ package Vend::Interpolate;
+ $Filter{reverse} = sub {
+ my $val = shift;
+ return scalar reverse $val;
+ };
+ }
+ }
+ EOR
+
+ =====
+ Please take a look at my first attempt. The text got as far as the <<EOR.
+
+ I had to resubmit, changing the < into an html entity and putting the whole lot
+ inside pre tags.
+
+ I think the submit needs a filter to deal with this.
+
+ Jonathan.