Fix greedy regex
Fix removal of indentation
Change indentation fix because it broke links