def fixup(s):
	"""Make some final formatting tweaks
	>>> fixup('on "zeal in research", 156')
	'on "zeal in research," 156'

	"""
	s = emphasis_re.sub(r'<em>\1</em>', s) # replace asterisks with balanced <em>
	return s.replace('",', ',"') # move comma inside quotes
Make some final formatting tweaks
	>>> fixup('on "zeal in research", 156')
	'on "zeal in research," 156'

	
recipes/Python/577179_Create_book_index/recipe-577179.py