]> git.openstreetmap.org Git - rails.git/commit
Make sanitize convert text alignment styles to bootstrap classes
authorTom Hughes <tom@compton.nu>
Mon, 9 Jan 2023 11:10:11 +0000 (11:10 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 9 Jan 2023 11:10:11 +0000 (11:10 +0000)
commitf42a7a2d8dd507a3746a1e2de91deda9614cf807
treec447811945878cc3bfad001e08757f722e214a2d
parentfbbcbf5c63cb5fe31048c968334a754834c8a321
Make sanitize convert text alignment styles to bootstrap classes

The kramdown converter for markdown uses inline styles for table
column alignment which gets lost when we strip the styles so add
bootstrap classes to replace it.
config/initializers/sanitize.rb