![]() |
No character data is allowed by content model
Greetings, oh Wise Ones!
I have used <blockquotes> on six occasions on one of my files in my e-book. Flightcrew doesn't seem to like it :( On each occasion </blockquote> appears I get the 'No character data is allowed by content model' message. The comment also appears twice on line 75 as well as line 76: Extract from file : 74 <blockquote> 75 Conquérants ? Jamais ! Inutiles? Sans aucun doute! 76 </blockquote> This my CSS: blockquote { margin: 2em 2em; } I should add, not all of the quotes are so short. What course of action would you recommend please? |
I don't think xhtml technically allows "naked" text in a blockquote. Put the text in a p or a span and see if that clears it up.
74 <blockquote> 75 <p>Conquérants ? Jamais ! Inutiles? Sans aucun doute!</p> 76 </blockquote> |
Mr / Ms DiapDealer, you are indeed a wizard!
Worked perfectly, many thanks. |
PS. Check your content too:
Conquérants ? Jamais ! Inutiles? Sans aucun doute! You have spaces before some ? and !, and not before the others (they should be non-breaking and thin, if possible too). And you ha non-breaking space where none should be present. |
Quote:
|
Quote:
Code:
non-breaking (full) space |
I am indebted to you all again.
Many thanks. |
Or use &# 8239; (without the space): thin non-breaking space.
Or use but make it smaller (with a span and font-size:50%). |
I found this on the web about French punctuation rules: http://www.interpc.fr/mapage/billaud/ponctua.htm
If my french is good enough, it says "only one trailing space for period and comma", but leading and trailing spaces for exclamation marks, question marks, semicolons and colons. In short: if the punctuation symbol is drawn with two strokes, put two spaces, if it is drawn with one stroke, just put a trailing space. It says nothing about the witdth of spaces though, but this thread does: http://forum.wordreference.com/showthread.php?t=656762 It seems that   is preferable as leading space with a regular space trailing. More info can be found here: http://forum.wordreference.com/showt...73#post3063773 |
@daubnet: That French link is very informative, isn't it - a really good find. Je vous remercie bien :)
@everyone: so there are two ways of creating a thin space: &# 8239; (without the space)   Is there anything to recommend one over the other? |
Now that I've followed theducks entity link I presume that they are different means to an identical end?
|
Quote:
Dale |
Please do not interpret three posts in relatively rapid succession as nagging or desperation but I seem to be doing something wrong with my thin spaces.
I have used both &# 8239; (without the space) and   at various points in my French sentence. As expected, their effect is identical. However, their effect is also unexpected! In Sigil the thin spaces appear as a very bold, fat letter I. In ADE the thin spaces appear as question marks.:chinscratch: What basic, foolish error have I made now? :blink: |
Quote:
Which is more meaningful at a Glance? ;) I guess the numeric notation would be needed when decoding User inputs from , say, a Web Form:chinscratch: |
Just to be clear:
  or &# 8201; is a normal thin space ("normal" here meaning that it is an allowed place for line breaking) &# 8239; is a non-breaking thin space. It should be about the same size as  , but won't allow a line break. There's no named entity for this one. They are like a normal space and , respectively, but thinner. |
| All times are GMT -4. The time now is 09:52 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.