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

Add attributes in the allowed HTML tags in the "Basic HTML" format #44

Open
trubach opened this issue Jul 12, 2024 · 0 comments
Open

Add attributes in the allowed HTML tags in the "Basic HTML" format #44

trubach opened this issue Jul 12, 2024 · 0 comments

Comments

@trubach
Copy link
Contributor

trubach commented Jul 12, 2024

We should allow the following attributes to the allowed HTML tags:

  1. Add the colspan and rowspan attribute to the <th> element
  2. Add the target attribute to the <a> element

allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type class=""> <ol type start class=""> <li class=""> <dl class=""> <dt class=""> <dd class=""> <h2 id class=""> <h3 id class=""> <h4 id class=""> <h5 id class=""> <h6 id class=""> <p class=""> <br> <img src alt data-entity-type data-entity-uuid data-align data-caption width height class=""> <sup> <sub> <hr> <table role aria-label class=""> <caption> <tbody> <thead> <tfoot class=""> <th id class=""> <td id class=""> <tr id class=""> <q class=""> <address class=""> <div class=""> <span id class=""> <drupal-media alt data-align data-caption data-view-mode data-entity-uuid data-entity-type title> <a href hreflang name data-entity-substitution data-entity-type data-entity-uuid title class=" il-button il-white-blue il-white-orange il-blue il-orange">'

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

No branches or pull requests

1 participant