changeset 2804:0e033c419e07

parsers: 'inline:' is gone
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 08 Sep 2007 18:44:46 +0200
parents a69460375016
children f0e5329419f7
files MoinMoin/parser/text.py MoinMoin/parser/text_rst.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/text.py	Fri Sep 07 22:33:35 2007 +0200
+++ b/MoinMoin/parser/text.py	Sat Sep 08 18:44:46 2007 +0200
@@ -13,7 +13,7 @@
         Send plain text in a HTML <pre> element.
     """
 
-    ## specify extensions willing to handle (for inline:)
+    ## specify extensions willing to handle
     ## should be a list of extensions including the leading dot
     ## TODO: remove the leading dot from the extension. This is stupid.
     #extensions = ['.txt']
--- a/MoinMoin/parser/text_rst.py	Fri Sep 07 22:33:35 2007 +0200
+++ b/MoinMoin/parser/text_rst.py	Sat Sep 08 18:44:46 2007 +0200
@@ -407,7 +407,7 @@
             if not AttachFile.exists(self.request, self.request.page.page_name, attach_name):
                 # Attachment doesn't exist, MoinMoin should process it
                 if prefix == '':
-                    prefix = 'inline:'
+                    prefix = 'attachment:'
                 self.process_wiki_text(prefix + attach_name)
                 self.wiki_text = self.fixup_wiki_formatting(self.wiki_text)
                 self.add_wiki_markup()