Skip to content

Commit

Permalink
Fixed div tag placement in $embed and plaintext
Browse files Browse the repository at this point in the history
  • Loading branch information
chunky committed Aug 11, 2004
1 parent dfb38dc commit 90e0f0b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions IcculusFinger_daemon.pl
Expand Up @@ -63,9 +63,11 @@
# 2.1.10: Changes by Gary Briggs: Added local file parsing for specific
# situations, made image text more useful. Added support for
# stylesheets, and [entry][/entry] tags
# 2.1.11: Changes by Gary Briggs: Fixed div tag placement in $embed
# and plaintext
#-----------------------------------------------------------------------------

# !!! TODO: Let [img] tags nest inside [link] tags.
# !!! TODO: If an [img] isn't in a link tag, make it link to the image.


use strict; # don't touch this line, nootch.
Expand Down Expand Up @@ -629,9 +631,10 @@ sub output_start {
</div>
<hr>
<div class="content">
__EOF__

print "<div class=\"content\">";

print "\n<pre>\n" if ($browser !~ /Lynx/);
}

Expand All @@ -641,8 +644,9 @@ sub output_ending {
if (($is_web_interface) or ($do_html_formatting) and ($browser !~ /Lynx/)) {
print(" </pre>\n");
}

print("</div>\n");
if (($is_web_interface) or ($do_html_formatting)) {
print(" </div>\n");
}

return if $embed;

Expand Down

0 comments on commit 90e0f0b

Please sign in to comment.