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?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhodgdon’s picture

Status: Active » Postponed (maintainer needs more info)

I'm confused. What are you trying to do that isn't working?

wusel’s picture

Status: Active » Postponed (maintainer needs more info)

Why is an allowed HTML-tag like "<sup>" not working?

wusel’s picture

Title: Bluecheese does not have good CSS for superscripts » HTML problem
Project: Bluecheese » Documentation
Component: Code » Correction/Clarification
Status: Needs review » Postponed (maintainer needs more info)
FileSize
21.07 KB

Please look at the attached hardcopy of the explanation of the "drupal.org"-editor
allowed tags

wusel’s picture

Status: Postponed (maintainer needs more info) » Active
jhodgdon’s picture

Title: HTML problem » Bluecheese does not have good CSS for superscripts
Project: Documentation » Bluecheese
Component: Correction/Clarification » Code
Status: Postponed (maintainer needs more info) » Active

When 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:

Prepare the CSV-file<a title="Look at this note!!!" href="#note2"><sup>[2]</sup></a> and name it <b>drupaluser_import.csv</b>

And here is how it renders:

Prepare the CSV-file[2] and name it drupaluser_import.csv

LewisNyman’s picture

I'll include this in the D7 port, might as well get it tested.

LewisNyman’s picture

Status: Active » Needs review
wusel’s picture

How can I test this on drupal.org?

Your patch looks very good! Thank you very much. Who imports it to drupal.org?

rupl’s picture

Title: HTML problem » Bluecheese does not have good CSS for superscripts
Project: Documentation » Bluecheese
Component: Correction/Clarification » Code
Status: Postponed (maintainer needs more info) » Needs review

@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

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +docs infrastructure

Sorry, 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!

wusel’s picture

Thanks 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.

drumm’s picture

Status: Reviewed & tested by the community » Active

Deployed.

I added text to http://drupal.org/style-guide/typography for testing. Leaving open for 7.x.

wusel’s picture

Status: Active » Fixed

Thanks, it looks nice.

jhodgdon’s picture

Status: Fixed » Active

See #12 - please leave this issue open, as it has not yet been fixed in the 7.x version.

hackwater’s picture

Title: Bluecheese does not have good CSS for superscripts » Add CSS support to Bluecheese D7 for common HTML elements in content
Assigned: Unassigned » hackwater
Status: Active » Needs review
Issue tags: +drupal.org D7, +bluecheese
FileSize
1.6 KB

Bluecheese 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

dead_arm’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me.

hackwater’s picture

Priority: Normal » Critical

This needs to be in place before we release D7 Bluecheese

rupl’s picture

Status: Reviewed & tested by the community » Fixed

Committed revision 69.

Automatically closed -- issue fixed for 2 weeks with no activity.