mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Line break for view source
							parent
							
								
									6b55cafed6
								
							
						
					
					
						commit
						9d79a763a1
					
				|  | @ -297,7 +297,7 @@ def markdown_to_html(markdown: str) -> str: | ||||||
|         for hsh, hashes in titles.items(): |         for hsh, hashes in titles.items(): | ||||||
|             if line.startswith(hashes): |             if line.startswith(hashes): | ||||||
|                 line = line.replace(hashes, '').strip() |                 line = line.replace(hashes, '').strip() | ||||||
|                 line = '<' + hsh + '>' + line + '</' + hsh + '>' |                 line = '<' + hsh + '>' + line + '</' + hsh + '>\n' | ||||||
|                 ctr = -1 |                 ctr = -1 | ||||||
|                 break |                 break | ||||||
|         html_str += line |         html_str += line | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue