mirror of https://github.com/grafana/grafana
[cr] whitelist flexbox styles in text panel editor (#43222)
* [cr] whitelist flexbox styles in text panel editor * [cr] separate sanitize function for text panel only * [cr] separate markdown function for text panel * [cr] common markdown optionspull/43436/head
parent
6abced840d
commit
119f756c0e
@ -1,11 +1,12 @@ |
||||
export * from './string'; |
||||
export * from './markdown'; |
||||
export * from './text'; |
||||
import { escapeHtml, hasAnsiCodes, sanitize, sanitizeUrl } from './sanitize'; |
||||
import { escapeHtml, hasAnsiCodes, sanitize, sanitizeUrl, sanitizeTextPanelContent } from './sanitize'; |
||||
|
||||
export const textUtil = { |
||||
escapeHtml, |
||||
hasAnsiCodes, |
||||
sanitize, |
||||
sanitizeTextPanelContent, |
||||
sanitizeUrl, |
||||
}; |
||||
|
Loading…
Reference in new issue