Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
e.g. on the page http://drupal.org/node/1285276 and here I can use the tags "<sup>" and "<sub>" as shown under this editor-field.
But on the real page http://drupal.org/node/1285276 at "http://drupal.org/node/1285276#note1" nobody can see something like "<sup>".
Where is the error in displaying allowed HTML-tags?
Comment | File | Size | Author |
---|---|---|---|
#15 | 1528530-sub-super-ol-15.patch | 1.6 KB | hackwater |
#3 | allowed.JPG | 21.07 KB | wusel |
#6 | sup-sub-styling-1528530-5.patch | 446 bytes | LewisNyman |
Comments
Comment #1
jhodgdonI'm confused. What are you trying to do that isn't working?
Comment #2
wusel CreditAttribution: wusel commentedWhy is an allowed HTML-tag like "<sup>" not working?
Comment #3
wusel CreditAttribution: wusel commentedPlease look at the attached hardcopy of the explanation of the "drupal.org"-editor
Comment #4
wusel CreditAttribution: wusel commentedComment #5
jhodgdonWhen I look at the HTML of the page, I can see the SUP tags in there. So it seems like the problem is that the Bluecheese theme does not display them properly.
Here's an example:
And here is how it renders:
Prepare the CSV-file[2] and name it drupaluser_import.csv
Comment #6
LewisNymanI'll include this in the D7 port, might as well get it tested.
Comment #7
LewisNymanComment #8
wusel CreditAttribution: wusel commentedHow can I test this on drupal.org?
Your patch looks very good! Thank you very much. Who imports it to drupal.org?
Comment #9
rupl@wusel, for now, I assume Lewis has posted this code within the Bluecheese snadbox available at http://theme-drupal_7.redesign.devdrupal.org/ - Right now it does not appear that this code made it into the theme. We will add it and update this issue when it's up there.
auth for sandbox: drupal/drupal
Comment #10
jhodgdonSorry, I forgot about this issue (probably because I forgot to tag it)...
Anyway, I just applied the patch above to a development copy of Drupal.org, and it seems good to me. You can see the superscripts at:
http://docs-infra-drupal.redesign.devdrupal.org/node/1285276#note1
(user name/password: drupal/drupal)
Let's get it committed and deployed -- thanks for the patch lewisnyman and thanks for pointing out the problem wusel!
Comment #11
wusel CreditAttribution: wusel commentedThanks to rupl and to jhodgdon!
I looked at http://docs-infra-drupal.redesign.devdrupal.org/node/1285276#note1 and it looks very fine.
Please update this at drupal.org.
Comment #12
drummDeployed.
I added text to http://drupal.org/style-guide/typography for testing. Leaving open for 7.x.
Comment #13
wusel CreditAttribution: wusel commentedThanks, it looks nice.
Comment #14
jhodgdonSee #12 - please leave this issue open, as it has not yet been fixed in the 7.x version.
Comment #15
hackwater CreditAttribution: hackwater commentedBluecheese D7 does not seem to have CSS support for superscripts, subscripts, and ordered lists in content.
Superscripts were not in the Bluecheese D7 styles at all, subscripts were all wrong, and ordered lists in #content .block were getting their decimals removed. I added CSS for superscripts, fixed subscripts, and tweaked the fairly generic
.block ol
selector to apply only to the #aside blocks, rather than to all ols in a .block div. The attached patch is a first pass at this:http://theme-drupal_7.redesign.devdrupal.org/style-guide/typography
http://drupal.org/style-guide/typography
Comment #16
dead_armLooks good to me.
Comment #17
hackwater CreditAttribution: hackwater commentedThis needs to be in place before we release D7 Bluecheese
Comment #18
ruplCommitted revision 69.