0

I already extract some text from bash using command "systemctl status ddos.service" bellow :

enter image description here

But, when I generate report in html for text that I extract above, it show all text in one line, like capture bellow :

enter image description here

My question is : How we can put result in html report same with result in bash ?? (I mean that result in html report not in one line like my capture above for html report, but I want capture in HTML report like result in bash)

1 Answer 1

2

Put it inside <pre></pre>?

The <Pre> Tag defines preformatted text.

Text in a <pre> element is displayed in a fixed-width font, and the text preserves both spaces and line breaks. The text will be displayed exactly as written in the HTML source code.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.