rep['verb'] = BookBase.verbatim_html (snippet.verb_ly ())
str += self.output[VERBATIM] % rep
if QUOTE in snippet.option_dict:
- str = self.output[QUOTE] % rep
+ str = self.output[QUOTE] % {'str': str}
str += self.output[BEFORE] % rep
for image in snippet.get_images ():
str += "".ljust (breaks, "\n").replace ("\n","%\n")
if QUOTE in snippet.option_dict:
- rep['str'] = str
- str = self.output[QUOTE] % rep
+ str = self.output[QUOTE] % {'str': str}
return str
# str += ('@html\n' + self.output_html () + '\n@end html\n')
if QUOTE in snippet.option_dict:
- str = self.output[QUOTE] % rep
+ str = self.output[QUOTE] % {'str': str}
# need par after image
str += '\n'