Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orchard does not accept MAILTO <tag> in the HTML #15236

Closed
YoumnaJ opened this issue Feb 2, 2024 · 4 comments
Closed

Orchard does not accept MAILTO <tag> in the HTML #15236

YoumnaJ opened this issue Feb 2, 2024 · 4 comments
Labels

Comments

@YoumnaJ
Copy link

YoumnaJ commented Feb 2, 2024

Hi, I need to put MAILTO in the HTML of a content type in my orchard core cms solution, But when I add MailTo to html and After clicking publish button the html tag does not appear can someone give me the reason of what is happening or a solution that resolves my problem ?
image

thank you,

@YoumnaJ YoumnaJ changed the title Orchard not accept MAILTO <tag> in the HTML Orchard does not accept MAILTO <tag> in the HTML Feb 2, 2024
@hishamco
Copy link
Member

hishamco commented Feb 2, 2024

mailto is an HTML thing it isn't related to Orchard Core,

Could you please let me know are you using HTML body and place the link there?

@rjpowers10
Copy link
Contributor

@YoumnaJ the "mailto" is being stripped out by the HTML sanitizer.

Here is an example of allowing the "mailto".

@hishamco
Copy link
Member

hishamco commented Feb 2, 2024

That's why I want to say @rjpowers10 if he is answering my above question

@hishamco
Copy link
Member

hishamco commented Feb 2, 2024

Have a look to the docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants