How can code be modified to support checking for markdowns


Problem

I. Need to resolve issue with following code. Uses markdown to check the message and converts to html, but the result continues to have a trailing markdown of *.

Example: Tom is *asleep*.
It changes it to Tom is asleep *
How can that trailing * left over from markdown be resolved. Something to do with index calculation.

II. How can the code be modified to support checking for other markdowns for italics and underline, ie if a message comes in with markdowns for italics and underline, how to handle all the three scenarios and return an html formatted message.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: How can code be modified to support checking for markdowns
Reference No:- TGS03340815

Expected delivery within 24 Hours