Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

EarlG

(22,756 posts)
1. You cannot post raw HTML code on DU
Sun May 12, 2024, 10:41 AM
May 2024

For security reasons. It is possible to fake it with HTML codes, for example:

<html>
<body>
<img src="mypic.jpg">
</body>
</html>

Above, I used HTML decimal codes to insert the angled brackets. But it's a pain to do that for lengthy code excerpts, because each time you preview, the HTML codes get stripped out and replaced.

You can do it by creating a text doc and then replacing any restricted characters with the appropriate HTML codes, but you have to keep re-pasting it every time you preview. So it can be done, but not in a user-friendly way.

Recommendations

2 members have recommended this reply (displayed in chronological order):

You cannot post raw HTML code on DU EarlG May 2024 #1
Thanks. Suspected that might be the case. SorellaLaBefana May 2024 #2
What would I do? usonian May 2024 #3
Latest Discussions»Help & Search»Computer Help and Support»Is there a way to post ra...»Reply #1