예제 #1
0
 def treehook(self, rootnode, context):
     """
     Turn wikiwords into links.
     """
     from wikklytext.wikwords import wikiwordify
     # add links to any wikiword
     wikiwordify(rootnode, context, self.wikiwords)
 def treehook(self, rootnode, context):
     """
     Turn wikiwords into links.
     """
     from wikklytext.wikwords import wikiwordify
     # add links to any wikiword
     wikiwordify(rootnode, context, self.wikiwords)
예제 #3
0
 def treehook(self, rootnode, context):
     """
     Turn wikiwords into links.
     """
     from wikklytext.wikwords import wikiwordify
     # add links to any wikiword
     try:
       x = context.wikiwords
       wikiwordify(rootnode, context, self.wikiwords)
     except AttributeError:
       pass
예제 #4
0
 def treehook(self, rootnode, context):
     from wikklytext.wikwords import wikiwordify
     # add links to wikiwords
     wikiwordify(rootnode, context, self.wikiwords)
예제 #5
0
	def treehook(self, rootnode, context):
		from wikklytext.wikwords import wikiwordify
		# add links to wikiwords
		wikiwordify(rootnode, context, self.wikiwords, self.on_unknown_camelword)
예제 #6
0
def treehook(rootnode, context):
    from wikklytext.wikwords import wikiwordify
    # no wikiwords here, just removal of '~' escapes.
    wikiwordify(rootnode, context, {})