Found bug in ConvertTo-EnhancedHTMLFragment -PostContent

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

Viewing 1 reply thread
  • Author
    Posts
    • #14468
      Participant
      Topics: 1
      Replies: 0
      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
      Topics: 13
      Replies: 4872
      Points: 1,844
      Helping HandTeam Member
      Rank: Community Hero

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

Viewing 1 reply thread
  • The topic ‘Found bug in ConvertTo-EnhancedHTMLFragment -PostContent’ is closed to new replies.