Pier Conversion Mistakes

While in the process of upgrading this site, the code on Pier 3.1 to Pier 3.2 is useful for changing embedded links like:

+/Information/Syntax+

changing this to:

*/Information/Syntax|embedded=true*

While following the steps, noticed that several imported pages ended up with pre-formatted text like:

Pre-formatted text, followed by and empty line, and more text

=

Should not have an equal-sign above this line.

For this, it was caused by the text:

line := stream nextLine trimRight

Removing the trimRight should resolve the problem, there should be a space after the equal-sign on the empty line.

Posted by John Borden at 9 March 2018, 4:08 am with tags Pier link