Skip to content

Commit

Permalink
Add comment to TextContentRenderer, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
robinst committed Jan 9, 2024
1 parent dfd95d0 commit 6542032
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
import java.util.ArrayList;
import java.util.List;

/**
* Renders nodes to plain text content with minimal markup-like additions.
*/
public class TextContentRenderer implements Renderer {

private final boolean stripNewlines;
Expand All @@ -30,7 +33,7 @@ public NodeRenderer create(TextContentNodeRendererContext context) {
}

/**
* Create a new builder for configuring an {@link TextContentRenderer}.
* Create a new builder for configuring a {@link TextContentRenderer}.
*
* @return a builder
*/
Expand All @@ -52,7 +55,7 @@ public String render(Node node) {
}

/**
* Builder for configuring an {@link TextContentRenderer}. See methods for default configuration.
* Builder for configuring a {@link TextContentRenderer}. See methods for default configuration.
*/
public static class Builder {

Expand Down

0 comments on commit 6542032

Please sign in to comment.