[ic] reading and writing interchange's html files
Mike Heins
mikeh@minivend.com
Thu, 7 Dec 2000 17:52:14 -0500
Quoting Andrew Waegel (andrew@benevolent-tech.com):
> Ok, got it. If anyone's interested in making this change for themselves,
> insert the following line of perl in lib/UI/pages/admin/page_save.html:
>
> $def_string =~ s/\cM/\n/g;
>
> ...right before the line that uses it:
> unshift @layout, '[' . "comment]\n$def_string zzz\n[" . "/comment]\n";
Thanks! Actually patched CVS with:
$def_string =~ s/\r\n?/\n/g;
so that Windows and UNIX users wouldn't get their templates
misformatted.
--
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun