Edit the HTMLGenerator.java program given in the text so that </p> end tags are inserted properly in the generated HTML file. The </p> end tags should be inserted at the bottom of each paragraph.
Note:
• Do not allow a </p> end tag to be generated when there’s no accompanying <p> start tag (start and end tags must always be partnered).
• Your program should be robust (i.e., handle the weird cases). In particular, handle the case where there’s only a title and no paragraphs at all.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.