#?SuikaWikiConfig/2.0 Plugin: @Name: PlainText @Description: @@@: Plain-text input/output implementation @@lang:en @License: %%GPL%% @Author: @@Name: @@@@: Wakaba @@@lang:ja @@@script:Latn @@Mail[list]: w@suika.fam.cx @Date.RCS: $Date: 2004/01/16 07:52:29 $ @RequiredPlugin[list]: PluginConst: @NS_XHTML1: http://www.w3.org/1999/xhtml Format: @Type: text/plain @ModuleName: Text::Plain @Description: @@@: text/plain; format=fixed @@lang:en @Use: use Message::Markup::XML::QName qw(NS_xml_URI); @Converter: @@Type: text/html @@IsFragment: 1 @@Description: @@@@: Converting plain-text to Hypertext Markup Language fragment @@@lang:en @@Main: for ($opt->{-parent}->append_new_node (type => '#element', namespace_uri => $NS_XHTML1, local_name => 'pre')) { $_->append_text ($$source); $_->set_attribute ('space' => 'preserve', namespace_uri => NS_xml_URI); } @Converter: @@Type: text/plain @@Description: @@@@: Converting plain-text to plain-text (noop) @@@lang: en @@Main: $r = $$source;