fixed case with multiline display equations not rendering properly with *dotall* regex modifier