Skip to content

Commit 8c9386e

Browse files
committed
Fix displaying of empty form fields
DEVSIX-1491
1 parent d3a694b commit 8c9386e

File tree

6 files changed

+1
-2
lines changed

6 files changed

+1
-2
lines changed

src/main/java/com/itextpdf/html2pdf/attach/impl/layout/form/renderer/AbstractTextFieldRenderer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ public abstract class AbstractTextFieldRenderer extends AbstractFormFieldRendere
8686
*/
8787
IRenderer createParagraphRenderer(String defaultValue) {
8888
if (defaultValue.trim().isEmpty()) {
89-
// TODO DEVSIX-1491: change to 'defaultValue = "\u00A0"' after trimming of non-breakable spaces is fixed;
90-
defaultValue = "\u00B7";
89+
defaultValue = "\u00A0";
9190
}
9291
Paragraph paragraph = new Paragraph(defaultValue).setMargin(0);
9392
Leading leading = this.<Leading>getProperty(Property.LEADING);
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)