Fix GFM dropdown not showing at beginning of new lines
What does this MR do?
Previously the string was split on spaces causing new lines to not be included after a regex change. This change splits the string on spaces & new lines, which allows for the GFM character at the start of a new line to trigger the dropdown.
What are the relevant issue numbers?
Closes #26145 (closed)