Looking for help with comparing configuration text #379
-
I am working on a script that collects network device configs and displays them to compare to a previous version to highlight what has changed. I am using the Out-HtmlView command with the -Compare and -HighlightDifferences parameters which outputs everything in the proper format but for the actual config data cell even though when printing to the console the text shows as a multi line string the result in the generated html is that the config data is squished into one giant blob of text essentially ignoring any line breaks within the string. Any ideas how I can solve the formatting issue and retain the line breaks? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was able to figure it out using -InvokeHTMLTags and replacing the line breaks with |
Beta Was this translation helpful? Give feedback.
I was able to figure it out using -InvokeHTMLTags and replacing the line breaks with
tags