Adding powershell block comment in codes inconsistent

  • Unknown's avatar

    Hi all,

    Usually when posting functions in powershell , there would be block comment with <# and #>

    However, if we type that and try to preview, it would not show. Then when we return back to the text, it shows addition strings like that.

    “<span data-mce-type=”bookmark” id=”mce_SELREST_start” data-mce-style=”overflow:hidden;line-height:0″ style=”overflow:hidden;line-height:0″ ></span>”

    The only way is to type “$lt;#” and “#>” instead, but the results is inconsistent sometimes it will show correct and sometimes it will just show as literal. Any ideas?

    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
  • The topic ‘Adding powershell block comment in codes inconsistent’ is closed to new replies.