Feedback on NI Community

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Indent Text

Hi Lili,

 

when trying to indent the red text line in this post (using the indent icon in the editor) I get an error "invalid HTML removed" when trying to post the message…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 1 of 7
(5,575 Views)

Hi Gerd,

 

Thanks for reporting this. I know the cause of the issue, but will do some investigating to find the best solution. I will report back when I have an update.

~~~~~~~~~
0 Kudos
Message 2 of 7
(5,559 Views)

This issue will be resolved after our maintenance window tonight.

 

Thanks,

~~~~~~~~~
0 Kudos
Message 3 of 7
(5,522 Views)

Hi Lili,

 

yes, this issue was resolved: I can indent and color some text now.

 

But even then I got an error message: "Invalid HTML" in "Body" with the comment "HTML was edited".

I couldn't spot any difference before and after that error message. It occured with this message

 

My usual "working" process is to copy text from a previous answer and paste it into the editor window. Then I apply indentation and text color to it…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(5,488 Views)

I'm having issues reproducing this in Firefox 44.0. I see when copying/pasting text that the <span> HTML tag is added, but that's allowed. The next time before you post by copying/pasting, please switch to the HTML tab in the text editor and take a screenshot. Then, if you attempt to post and receive the error, we can see what HTML may be causing the error.

 

Thanks,

~~~~~~~~~
0 Kudos
Message 5 of 7
(5,471 Views)

i would like to see only RUN button..,.

Test

 

After testing:

Next time with same error! Now with documentation…

 

I copied the title (or part of) from this post to a new message. It gets pasted with a very big font size (why?).

I set color to red and indent the copied text:

Your post has been changed because invalid HTML was found in the message body. The invalid HTML has been removed. Please review the message and submit the message when you are satisfied.

After automatic HTML check/cleanup I could post the message…

 

HTML before error checking:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(5,444 Views)

Thanks, Gerd. The text is big because when copying/pasting, you're pasting the text's formatting as well -- which in this case is the <h1> header tag. You can use ctrl+shift+v to paste as plain text which will remove any associated formatting and html.

 

The reason for the error is the <h1> HTML tag associated with the text. This error is expected as this is not an acceptable HTML tag in a post body (we do restrict some HTML from being used). If a user wanted to increase the font size in the post, they should use the <font size> tag.

~~~~~~~~~
0 Kudos
Message 7 of 7
(5,434 Views)