Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan E. Cook2016-06-07 02:12:58 +0000
committerMorgan E. Cook2016-06-10 23:13:31 +0000
commita03f8fd7a433b582c4b533b580a9a3be427bf63f (patch)
treefc9b3b9bf6ff8e4795b0c64bcc2564c4e20629b3 /plugins/org.eclipse.osee.define.report.api/src/org/eclipse/osee
parent4c98f687a5e247c888e9c2510d2318e799aaa528 (diff)
downloadorg.eclipse.osee-a03f8fd7a433b582c4b533b580a9a3be427bf63f.tar.gz
org.eclipse.osee-a03f8fd7a433b582c4b533b580a9a3be427bf63f.tar.xz
org.eclipse.osee-a03f8fd7a433b582c4b533b580a9a3be427bf63f.zip
bug[ats_ATS283924]: Fix removing extra paragraph after word edit save
Signed-off-by: Morgan E. Cook <Morgan.e.cook@boeing.com> Change-Id: I21b4d7d8c2e798a61c0b47e40abe9a977259e8f0
Diffstat (limited to 'plugins/org.eclipse.osee.define.report.api/src/org/eclipse/osee')
-rw-r--r--plugins/org.eclipse.osee.define.report.api/src/org/eclipse/osee/define/report/api/ReportConstants.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.define.report.api/src/org/eclipse/osee/define/report/api/ReportConstants.java b/plugins/org.eclipse.osee.define.report.api/src/org/eclipse/osee/define/report/api/ReportConstants.java
index 9f4e1b059eb..e18b9b9f961 100644
--- a/plugins/org.eclipse.osee.define.report.api/src/org/eclipse/osee/define/report/api/ReportConstants.java
+++ b/plugins/org.eclipse.osee.define.report.api/src/org/eclipse/osee/define/report/api/ReportConstants.java
@@ -22,7 +22,8 @@ public class ReportConstants {
//regex
public static final String FTR = "<w:ftr[\\s\\S]+?</w:ftr>";
public static final String PAGE_SZ = "<w:pgSz [^>]*/>";
- public static final String ENTIRE_FTR = "<w:pPr><w:spacing w:after=\"[\\d]\"></w:spacing><w:sectPr[^>]*><w:ftr[\\s\\S]+?</w:ftr>[\\s\\S]+?</w:sectPr></w:pPr>";
+ public static final String ENTIRE_FTR_EXTRA_PARA = "<w:pPr><w:spacing w:after=\"[\\d]\"></w:spacing><w:sectPr[^>]*><w:ftr[\\s\\S]+?</w:ftr>[\\s\\S]+?</w:sectPr></w:pPr>";
+ public static final String ENTIRE_FTR = "<w:sectPr[^>]*><w:ftr[\\s\\S]+?</w:ftr>[\\s\\S]+?</w:sectPr>";
public static final String FULL_PARA_END = "</w:pPr></w:p>";
public static final String NO_DATA_RIGHTS =
"<w:p>[\\s||\\S]+?<w:r><w:t>NO DATA RIGHTS ARTIFACT FOUND</w:t></w:r>[\\s\\S]+?</w:p>";

Back to the top