Found bug in ConvertTo-EnhancedHTMLFragment -PostContent

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 3 years, 7 months ago.

  • Author
    Posts
  • #14468

    Nick
    Participant

    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

    Don Jones
    Keymaster

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

You must be logged in to reply to this topic.