Found bug in ConvertTo-EnhancedHTMLFragment -PostContent

Welcome Forums Web Site Feedback & Assistance Found bug in ConvertTo-EnhancedHTMLFragment -PostContent

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
4 years, 8 months ago.

  • Author
    Posts
  • #14468

    Participant
    Points: 0
    Rank: Member

    Found bug in ConvertTo-EnhancedHTMLFragment -PostContent

    -PostContent data is passed to $fragment.

    Line 898: $fragment = "$fragment`n$PostContent"

    $fragment is not passed into $out. $out is returned as output. Thus PostContent is not included in output.

    Fix:

    Line 898: $out += "`n$PostContent"

    Thanks for the great resources you provide. Keep up the good work.

  • #14470

    Keymaster
    Points: 1,673
    Helping HandTeam Member
    Rank: Community Hero

    I'll get that in the morning. Thank you!

The topic ‘Found bug in ConvertTo-EnhancedHTMLFragment -PostContent’ is closed to new replies.