You are here: Foswiki>Tasks Web>Item10662 (20 Apr 2011, MichaelDaum)Edit Attach

Item10662: Typo in MetaCommentPlugin

pencil
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: MetaCommentPlugin
Branches:
Reported By: AndreLichtsteiner
Waiting For:
Last Change By: MichaelDaum
The MetaCommentPlugin, version 0.91 - 15 Apr 2011, has a bug in

lib/Foswiki/Plugins/MetaCommentPlugin/Core.pm

*** 542,544 ****
        $title = substr($comment->{text}, 0, 40);
!       $title =~ s/^\s*\-\-\-++//g; # don't remove heading, just strip tml
        $title = $session->renderer->TML2PlainText($title, undef, "showvar") . " ...";
--- 542,544 ----
        $title = substr($comment->{text}, 0, 40);
!       $title =~ s/^\s*\-\-\-\++//g; # don't remove heading, just strip tml
        $title = $session->renderer->TML2PlainText($title, undef, "showvar") . " ...";

-- AndreLichtsteiner - 20 Apr 2011

Fixed in v0.92

-- MichaelDaum - 20 Apr 2011
Topic revision: r2 - 20 Apr 2011, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy