summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bensch <jeroen@44.no-reply.drupal.org>2001-03-11 19:57:07 +0000
committerJeroen Bensch <jeroen@44.no-reply.drupal.org>2001-03-11 19:57:07 +0000
commit74bfacf8ccf42b155fa8d0c9b6473978b8c1f510 (patch)
treebb20acf4e50c56dadf2cc9136226e07e99743635
parentb873cb9e6d2966874e862e9daf33d3c607873b1e (diff)
downloadbrdo-74bfacf8ccf42b155fa8d0c9b6473978b8c1f510.tar.gz
brdo-74bfacf8ccf42b155fa8d0c9b6473978b8c1f510.tar.bz2
Hey,
OK, this is perfectionism. I had http://jeroen.drop.org/ validated once again, and noticed an error with a </P>, it said that the paragraph wasn't opened. But it occured near a story as we do <P> check_output(story->abstract) </P> I was pretty certain the paragraph was open. :) OK, so it wasn't the theme's fault, neither was it the engine. Then I went to take a look at the actual story and what did I see. It used a BLOCKQUOTE. After deleting the BLOCKQUOTE, messing around with the HTML, trying to insert it again. It always gave me the error when it was inserted... What's my conclusion? BLOCKQUOTE isn't allowed inside a paragraph... Solution? We could take the option to use the blockquote HTML tag in a story or comment out of drupal. But I really like blockquote. So I now changed <P> check_output(story->abstract) </P> to <BR> check_output(story->abstract) </BR> because, basicly, that does the same thing. I'd advise you to do so too, I might do it for you if you please. Not that I really care about it, but lately we've got some queer w3-lovers on our back. Let's shake them off, allright? ;) Jeroen.
-rw-r--r--themes/jeroen/jeroen.theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme
index 6375c5701..fc45fe753 100644
--- a/themes/jeroen/jeroen.theme
+++ b/themes/jeroen/jeroen.theme
@@ -128,11 +128,11 @@
<?php
- echo "<P>". check_output($story->abstract, 1) ."</P>";
+ echo "<BR>". check_output($story->abstract, 1) ."</BR>";
if ($story->updates)
echo "<P><FONT COLOR=\"#E09226\">". t("Editor's note by <A HREF=\"account.php?op=userinfo&uname=$story->editor\">$story->editor</A>") .":</FONT>". check_output($story->updates, 1) ."</P>";
if ($reply)
- echo "<P>". check_output($story->article, 1) ."</P>";
+ echo "<BR>". check_output($story->article, 1) ."</BR>";
?>