1. As for <br /> - can we make it nicer by combining with <br> in a single regexp, like
s := ReplaceRegEx(s, '<br */?>', '@br');
2. Are you sure <para>xxx</para> should be replaced with @abstract(xxx) ? If "<para>" stands for paragraph, then it's not good to translate it to @abstract (that can occur only once in a description, and is, well, something else than a paragraph:). It would be better to replace both <para> and </para> with two newlines, which is the correct way to make a paragraph in PasDoc. Like
s := ReplaceRegEx(s, '<para[^>]*>', LineEnding + LineEnding);
s := ReplaceRegEx(s, '</para>', LineEnding + LineEnding);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. As for <br /> - can we make it nicer by combining with <br> in a single regexp, like
2. Are you sure <para>xxx</para> should be replaced with @abstract(xxx) ? If "<para>" stands for paragraph, then it's not good to translate it to @abstract (that can occur only once in a description, and is, well, something else than a paragraph:). It would be better to replace both <para> and </para> with two newlines, which is the correct way to make a paragraph in PasDoc. Like
Yes, you are right.
Last edit: kosovali 2016-05-29
Cool, patch applied, thank you!