Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !36408

Add table tags (table, td, th, tr, colgroup)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/dev-ph1l/main into main 3 years ago
  • Overview 8
  • Commits 6
  • Pipelines 1
  • Changes 1

Created by: dev-ph1l

Fixes #36399

Added table tags and attributes (span, colspan, scope, rowspan) in order to be able to use tables in tooltips.

Compare
  • version 1
    a541aed4
    2 years ago

  • main (HEAD)

and
  • latest version
    a541aed4
    6 commits, 2 years ago

  • version 1
    a541aed4
    6 commits, 2 years ago

1 file
+ 5
- 0

    Preferences

    File browser
    Compare changes
js/src/util/sanitizer.js
+ 5
- 0
  • View file @ dee093ed

  • Edit in single-file editor

  • Open in Web IDE


@@ -56,6 +56,7 @@ export const DefaultAllowlist = {
b: [],
br: [],
col: [],
    • Patrick H. Lauke
      Patrick H. Lauke @patrickhlauke · 2 years ago
      Contributor

      add span attribute

      • Please register or sign in to reply
Please register or sign in to reply
colgroup: ['span'],
code: [],
div: [],
em: [],
@@ -78,6 +79,10 @@ export const DefaultAllowlist = {
sub: [],
sup: [],
strong: [],
table: ['span'],
    • Patrick H. Lauke
      Patrick H. Lauke @patrickhlauke · 2 years ago
      Contributor

      span is incorrect here

      • Please register or sign in to reply
Please register or sign in to reply
td: ['colspan', 'rowspan'],
    • Patrick H. Lauke
      Patrick H. Lauke @patrickhlauke · 2 years ago
      Contributor

      add headers attribute

      • Please register or sign in to reply
Please register or sign in to reply
tr: [],
th: ['scope'],
    • Patrick H. Lauke
      Patrick H. Lauke @patrickhlauke · 2 years ago
      Contributor

      add abbr, colspan, headers, rowspan

      • Please register or sign in to reply
Please register or sign in to reply
u: [],
    • Patrick H. Lauke
      Patrick H. Lauke @patrickhlauke · 2 years ago
      Contributor

      also add elements thead, tbody, tfoot, and caption ?

      • Please register or sign in to reply
Please register or sign in to reply
ul: []
}
0 Assignees
None
Assign to
Reviewer
Patrick H. Lauke's avatar
Patrick H. Lauke
Request review from
Labels
3
feature js v5
3
feature js v5
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
6
6 participants
Patrick H. Lauke
XhmikosR
Mark Otto
Administrator
GeoSot
Ghost User
Reference: twbs/bootstrap!36408
Source branch: github/fork/dev-ph1l/main

Menu

Explore Projects Groups Snippets