Menu

#22 Added <para> and <br /> tags.

None
closed
para (1)
2
2016-05-30
2016-05-28
kosovali
No

Added <para> and
tags.

1 Attachments

Discussion

  • Michalis Kamburelis

    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);  
    
     
    • kosovali

      kosovali - 2016-05-29

      Yes, you are right.

       

      Last edit: kosovali 2016-05-29
  • Michalis Kamburelis

    • status: open --> pending
    • assigned_to: Michalis Kamburelis
    • Group: -->
     
  • Michalis Kamburelis

    • status: pending --> closed
     
  • Michalis Kamburelis

    Cool, patch applied, thank you!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.