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

Dashboard
Notifications
Mark all as read
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.

`dir=rtl` and inline HTML CSS styling aren't working (quite urgent)

+2
−0

dir=rtl and inline HTML CSS styling, which I need to properly format my following post on Software Development Codidact, aren't working;

The source code preview of the post doesn't correctly match the final output of the post:


Without proper formatting (especially dir="rtl" att-val) readers might significantly misunderstand me there).

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

0 comments

1 answer

+2
−0

From what I can see, supporting the [dir] attribute can be safely done. However, we cannot support the [style] attribute for security reasons.

CSS allows you to do a lot of things, many of those being a possible security or exploit risk. Even simple things like background images could be used to collect sensitive data without the knowledge of the users (tracking pixels).

I'll file an issue for the [dir] attribute, though, so that we can look into allowing it.

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

4 comments

However the preview not matching the final post also seems to be a bug to me, regardless of what HTML is or isn't supported. celtschk‭ 3 months ago

Hello luap42 ; thank you for submitting the issue about [dir] and for the detailing --- to solve the problem of my need in grey background color for displaying the output, what markdown approach will you (or any other maintainer) suggest me to take? JohnDoea‭ 3 months ago

@JohnDoea Either take a screenshot of your output and include it as an image, or just include it raw. Specifying your background color isn't something we support. ArtOfCode‭ 3 months ago

I prefer not to use screenshots at all due to usability principles; raw inclusion (<pre> tags?) won't really describe what I was expecting, but if you meant everything the same with no background color I guess that's good enough. JohnDoea‭ 3 months ago

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!