Check out my validation. That ? turns out as a ' (as it should) on the page...
Check out my validation. That ? turns out as a ' (as it should) on the page...
Try editing that post and replacing the apostrophe with a plain one from your keyboard. Somehow a higher level ASCII character snuck in there.
I tried removing it directly in the SQL db, but to no avail. I ended up deleting the title for it.
But it seems to be a general problem.
Whoa! It looks like something happened and your comments are not going in the title attribute for those links, I would check your template. That's about 98% of those errors.
I'm seeing this same problem on all posts with an apostrophe in the title.
I've confirmed by commenting out the texturize line in b2vars.php that the actual posts contain plain old ordinary ASCII apostrophes. Somehow the_title (or more likely, convert_chars) is converting it to the actual character instead of the entity.
Found it! Comment out line 227 of b2functions.php, and it will fix the problem. A *much better* fix will be in the next release.
Thanks! At first I was worried that this might break HTML in titles (I've used italics from time to time), but it looks OK - and now it both validates and shows up in Netscape 4! (Don't laugh, I have friends who are still stuck on it because their computers are too old to run anything newer.)
Try taking a look at my validation results.
Not pretty :(
First, you can't have nested anchors, so move the named anchor outside of the title link. For the rest, do you copy and paste from another program or type it in the browser?
I copy and paste from another program too, and I get realy awufl validation results (lots of non-SGML character errors). Could it be something in the way windows copies and pastes characters?
Yes, especially if you copy and paste from Word.
I do some of both :)
Sorry, that was me. (BTW, your tabstops from the password textbox are a bit strange).
Yes they were, that's fixed now.
I still have this problem. In all of my post, not just the title.
Hi Eudaimic,
did you comment out the call to
$content = strtr($content, $b2_htmltrans);
on line 227 of b2functions.php?
Mike
There's one more thing I noticed! Ever been in the habit of copying and pasting from your favortie news sources like MSNBC (especially that)? Their ellipses, em and en dashes, and sexy quotes are copied as is, and though they are displayed in the browser, this may cause non-SGML character errors. You'll have to go in the quote and change these characters either to the ones with the amps or the texturize comversions.
Mike: Yes I've commented it out. till a problem.
Hi Michael,
The first error showing at the moment is caused by using blockquote inside a paragraph tag. They are both block elements and cannot be nested.
You have paragraph tags around your call to <?php the_content() ?> This will mean that if you include paragraph tags or blockquote tags in your story it will always be invalid.
Which filters do you have turned on? (At the bottom of b2vars.php)
Mike
There are no P elements in my index.php!
Here's the end of my b2vars.php, as you can see I've had to make some costumization due to problems when I switched to an Apache server:
add_filter('all', 'wptexturize');
// add_filter('the_content', 'wpautop');
add_filter('comment_text', 'wpautop');
// Uncomment the following for Textile support
// include_once('textile.php');
$res = include_once('/STORE/binarybonsai_com/public_html/b2-include/textile.php');
if(!res) {
if( !in_array('/STORE/binarybonsai_com/public_html/b2-include/textile.php', get_included_files()) ) {
echo "The file '/STORE/binarybonsai_com/public_html/b2-include/textile.php' does not exists";
exit(1);
}
}
add_filter('the_content', 'textile');
// There is some duplication of effore so textile.php really should be tweaked to eliminate that.
?>
Hmmm.
I have exactly the same settings as you (just a plain include_once('textile.php')), and where ever I use a bq. or quotes of any kind, I don't get the same validation issues you have.
I notice that your current blog page does validate correctly, even though some of the titles and posts have quotes in them.
But if you go back to http://binarybonsai.com/index.php?m=20030621 then this doesn't validate.
I even tried copying nad pasting your "WISH 52: What kind of gamer am I?" story into my wordpress reformatting it back to textile and ist doesn't produce the
that you have.
I'm a little confused. Are you using textile syntax for that post? Or do you have the html tags in the post?
Mike
I use the blockquote tag rather than bq. -- Will that make a difference?
This topic has been closed to new replies.