Commit fa20f688 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Removing content formatting as it is taken by the markdown parser

parent a6254ed2
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -497,13 +497,13 @@ def parseGridTableWithSpans(gridTable:str) -> tuple[GridTableRowList, GridTableR
					
					# Bold replacements
					# Regex to detect markdown bold formatting in cell content
					if cell.content is not None:
						cell.content = matchBold.sub(r'\1<strong>\g<text></strong>', cell.content)
					#if cell.content is not None:
					#	cell.content = matchBold.sub(r'\1<strong>\g<text></strong>', cell.content)

					# Italic replacements
					# Regex to detect markdown italic formatting in cell content
					if cell.content is not None:
						cell.content = matchItalic.sub(r'\1<i>\g<text></i>', cell.content)
					#if cell.content is not None:
					#	cell.content = matchItalic.sub(r'\1<i>\g<text></i>', cell.content)

	# Correct newlines characters
	for headerRow in headerRows: