imageWithText() draw undesired underscore

I had a bug when using playdate.graphics.imageWithText and when there is an underscore in the text to display.

Here is an exemple
image

And if I remove the underscore from "MOVE_TO"
image

I think the problem is from this function

local function _styleCharacterForNewline(line)
	local _, boldCount = string.gsub(line, "*", "*")
	if ( boldCount % 2 ~= 0 ) then
		return "*"
	end
	
	local _, italicCount = string.gsub(line, "_", "_")
	if ( italicCount % 2 ~= 0 ) then
		return "_"
	end

	return ""
end

From the docs: https://sdk.play.date/inside-playdate/#f-graphics.drawText

To draw an asterisk or underscore, use a double-asterisk or double-underscore.
Styles may not be nested, but double-characters can be used inside of a styled portion of text.