Problem with "Format Text.vi" if the input string begins or ends with a space character.
The VI "Format Text.vi" only allows treating words (the input string must not include spaces). It would be interesting to be able to take into account a string including space characters.
Format_Line.viFor more details see suggestion in attached file "Format Line.vi"Format_Line.vi
02/04/2020 The previous title was"Allow formatting a line including space characters". The description above is not accurate. The real issue is:"Format Text.vi" does not give the expected result if the input string begins or ends with a space. input string = " bad italic" => in .adoc "_ bad italic_" => html rendering "_ bad italic_".
The proposed solution with "Format Line.vi" is not correct. Something should be done in "Format Text.vi"... to be decided what (trim on input string ?)