introduce text, italicText, boldText
remove *AsString builders, use a new MarkupDocBuilder with toString() method instead
This commit is contained in:
@@ -73,6 +73,7 @@ public class MarkupDocBuilderTest {
|
||||
.textLine("text line b")
|
||||
.boldTextLine("Bold text line b")
|
||||
.italicTextLine("Italic text line b")
|
||||
.boldText("bold").italicText("italic").text("regular").newLine()
|
||||
.unorderedList(Arrays.asList("Entry1", "Entry2", "Entry 2"))
|
||||
.anchor("anchor", "text").newLine()
|
||||
.anchor(" Simple anchor").newLine()
|
||||
@@ -103,6 +104,7 @@ public class MarkupDocBuilderTest {
|
||||
.textLine("text line b")
|
||||
.boldTextLine("Bold text line b")
|
||||
.italicTextLine("Italic text line b")
|
||||
.boldText("bold").italicText("italic").text("regular").newLine()
|
||||
.unorderedList(Arrays.asList("Entry1", "Entry2", "Entry 2"))
|
||||
.anchor("anchor", "text").newLine()
|
||||
.anchor(" Simple anchor").newLine()
|
||||
|
||||
Reference in New Issue
Block a user