Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on TT tag works in preview, not in final post.

Post

TT tag works in preview, not in final post. [duplicate]

+3
−0

Closed as duplicate by Monica Cellio‭ on Feb 7, 2022 at 22:48

This question has been addressed elsewhere. See: Although div tag is not allowed, it's rendered in the preview

This question was closed; new answers can no longer be added. Users with the reopen privilege may vote to reopen this question if it has been improved or closed incorrectly.

The html tag <tt> works correctly in the preview window that is shown while editing a post. Text enclosed in such tags is shown in mono-spaced font. However, the TT tag seems to be ignored when the post is shown normally.

The TT tags don't get lost. Editing a post again shows the tags, and the result is again correct in the preview window.

Test cases:

    Normal text

    Text enclosed in TT

PS - I just noticed that HTML entities (like &lt; and &gt;) don't work in titles.

tt seems to be outdated

OK, what should I use instead? What should I use to show text in-line in mono-spaced font, without a distracting box or something around it?

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

3 comment threads

Same root cause (1 comment)
`tt` is not one of the [allowed tags](/posts/277420), thus it's removed from the final rendered post.... (1 comment)
tt seems to be outdated (1 comment)
Same root cause
Monica Cellio‭ wrote about 2 years ago

The root cause of the various mismatches between the preview and the final rendered text is the different libraries used on the frontend and backend. I don't know enough to be able to say how hard it is to fix that, but I'm guessing there's something that makes it hard since this keeps coming up and we haven't fixed it yet. Deferring to developers for details.