00879: Section Edit doesn't work with headers (sometimes)

Summary: Section Edit doesn't work with headers (sometimes)
Created: 2007-02-06 17:12
Status: Open
Category: Bug
From: shendric?
Assigned:
Priority: 3
Version: 2.1.27
OS: Ubuntu Linux/Apache 2.0.55/PHP 2.43/SectionEdit 2.1.3

Description: The wiki text at the end of this post results in a "Section 1" header but normal text for "!Section 2". Both have "Edit Section" links. A piece of HTML code produced is included below as well.

Is it possible to fix this?

Thanks!


My server configuration is:

Linux tps 2.6.15-25-386 #1 PREEMPT Wed Jun 14 11:25:49 UTC 2006 i686 GNU/Linux

Apache/2.0.55 (Ubuntu) DAV/2 SVN/1.3.1 mod_python/3.1.4 Python/2.4.3 PHP/4.4.2-1build1

SectionEdit 2.1.3


Wiki Text ----

Section 1

Testing Section Edit

Section 2

Testing Section Edit


HTML Produced ----
<!--PageText-->
<div id='wikitext'>
<div class='sectionedit'><a name='sMain.WikiSandbox_1'></a><a href='http://REMOVED/paperswiki/pmwiki.php?n=Main.WikiSandbox?action=edit&amp;s=1&amp;auto=y&amp;from=Main.WikiSandbox'>(Edit Section &#x2193;)</a></div>
<h1  style='margin-top: 0px;'>Section 1</h1>
<p>Testing Section Edit
</p>
<div class='vspace'></div><div class='sectionedit'><a name='sMain.WikiSandbox_2'></a><a href='http://REMOVED/paperswiki/pmwiki.php?n=Main.WikiSandbox?action=edit&amp;s=2&amp;auto=y&amp;from=Main.WikiSandbox'>(Edit Section &#x2193;)</a></div>
!Section 2
<p class='vspace'>Testing Section Edit

</p>
</div>

      </td>
    </tr></table>
<!--PageFooterFmt-->