branch develop-1.1.x updated (f41359dc -> af52b1c0)
This is an automated email from the git hooks/post-receive script. New change to branch develop-1.1.x in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git from f41359dc [gitflow-maven-plugin]Update for next development version new af52b1c0 Backport #10227 correction to FX version The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit af52b1c09890337013e203336e2b54de44990b63 Author: jcouteau <couteau@codelutin.com> Date: Mon Dec 20 09:19:00 2021 +0100 Backport #10227 correction to FX version Summary of changes: .../faxtomail/ui/swing/util/FaxToMailUIUtil.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop-1.1.x in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit af52b1c09890337013e203336e2b54de44990b63 Author: jcouteau <couteau@codelutin.com> Date: Mon Dec 20 09:19:00 2021 +0100 Backport #10227 correction to FX version --- .../faxtomail/ui/swing/util/FaxToMailUIUtil.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/util/FaxToMailUIUtil.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/util/FaxToMailUIUtil.java index 42c1b244..ddcf50d0 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/util/FaxToMailUIUtil.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/util/FaxToMailUIUtil.java @@ -367,6 +367,21 @@ public final class FaxToMailUIUtil extends ApplicationUIUtil { } // if there is no html content or if no html content can be correctly displayed (ie throws an exception) + // then display plain content as html (prevent plain content with html tags to be raw displayed) + if (textPanePanel.getComponentCount() == 0) { + + contents = demandeUIModel.getPlainContent(); + + for (String content : contents) { + if (content != null) { + addHtmlTextPane(handler, demandeUIModel, textPanePanel, content); + } + } + + } + + // if there is no html content or if no html content can be correctly displayed (ie throws an exception) + // fail back to plain old TextPane if (textPanePanel.getComponentCount() == 0) { contents = demandeUIModel.getPlainContent(); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm