I do not if I am doing this right or I am missing something. When I implement the following to create a new line within my YouTube descriptions they are not coming out right.
private static final String newLine = System.getProperty("line.separator");
mg.setDescription(new MediaDescription());
mg.getDescription().setHtmlContent("This is line one." + newLine + "This is line two." + newLine + newLine + "This is line three.");
This how it comes out within the YouTube Description
This is line one.
This is line two. This is
line three.
When it should be coming out as this.
This is line one.
This is line two.This is
line three.
I sort of think I am not doing something right here; if I am not getting the right layout as my end result.
Adding a newline won’t actually create a line break in HTML. You instead need to use the
<br />tag.