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

DU Community Help

In reply to the discussion: Emoticons and such [View all]

progree

(12,706 posts)
4. I typed in your code, and it displays the code. The trick is to embed a meaningless "[/b]" symbol after each "&"
Thu Dec 18, 2025, 05:11 PM
Thursday
That's a screensnap, because when you type it and preview, IT GOES AWAY.


Here it is as plain text, not a screen shot:

")

The invisible "[/b]" symbols stuck into it screws up the interpreter, and so it just leaves it as text, with the "[/b]" symbols invisible.

==========================================

A useful trick if one wants to display the URL of a graphics image without rendering the graphic.

With the embedded "[/b]" stuck in right after the "h" in http, it displays the URL of the graphic:

https://i.imgur.com/pW5emc4.png

Without the "[/b]" , it displays the image:


The "[/b]" symbol embedded screws up the URL so the interpreter doesn't try to interpret it as a URL.

I used the same trick, by the way, to show the "[/b]". Without the trick, the "[/b]" simply disappears

Recommendations

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

Latest Discussions»Help & Search»DU Community Help»Emoticons and such»Reply #4