Created
April 8, 2017 21:57
-
-
Save btmash/a72759bc1476d32a6cc66f8e348f9526 to your computer and use it in GitHub Desktop.
Things I could fix via sql to get the site to show up properly.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update node__body set body_format = 'basic_html' WHERE body_format = 'filtered_html'; | |
update node_revision__body set body_format = 'basic_html' WHERE body_format = 'filtered_html'; | |
update node__body SET body_value = REPLACE(body_value, '<pre>', ''); | |
update node_revision__body SET body_value = REPLACE(body_value, '<pre>', ''); | |
update node__body SET body_value = REPLACE(body_value, '</pre>', ''); | |
update node_revision__body SET body_value = REPLACE(body_value, '</pre>', ''); | |
update node__body SET body_value = REPLACE(body_value, '<code', '<pre><code'); | |
update node_revision__body SET body_value = REPLACE(body_value, '<code', '<pre><code'); | |
update node__body SET body_value = REPLACE(body_value, '</code></pre>', '</code>'); | |
update node_revision__body SET body_value = REPLACE(body_value, '</code></pre>', '</code>'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment