lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 95ebc7f: Eliminate an unwanted blank line


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 95ebc7f: Eliminate an unwanted blank line
Date: Mon, 29 Oct 2018 16:02:37 -0400 (EDT)

branch: master
commit 95ebc7f0ea8d0d2c4b5f4935e0b4502a209683e4
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Eliminate an unwanted blank line
    
    Rewrote patterns such as this:
      {{#Condition}} abc {{/Condition}}
      {{^Condition}} def {{/Condition}}
      <br>
    in this way:
      {{#Condition}} abc<br> {{/Condition}}
      {{^Condition}} def<br> {{/Condition}}
    as is generally done in other '*header*.mst' files. It is more robust to
    write the <br> element explicitly in this manner instead of factoring it
    out of the conditionals: in one case, this usage:
      {{^IsInforce}}
        Conditional text with no "{{#" alternative.
      {{/IsInforce}}
      <br>
    resulted in an unwanted blank line in the "{{#" case.
---
 ill_reg_header.mst | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/ill_reg_header.mst b/ill_reg_header.mst
index f3f4a26..12df9c7 100644
--- a/ill_reg_header.mst
+++ b/ill_reg_header.mst
@@ -53,12 +53,11 @@
             {{/Composite}}
             Product: {{PolicyForm}}&nbsp;{{PolicyMktgName}}<br>
             {{#ModifiedSinglePremium}}
-                Modified Single Premium Adjustable Life Insurance Policy
+                Modified Single Premium Adjustable Life Insurance Policy<br>
             {{/ModifiedSinglePremium}}
             {{^ModifiedSinglePremium}}
-                {{PolicyLegalName}}
+                {{PolicyLegalName}}<br>
             {{/ModifiedSinglePremium}}
-            <br>
 
             {{^IsInforce}}
                 {{^SinglePremium}}
@@ -67,9 +66,8 @@
                 {{#SinglePremium}}
                     Single Premium:
                 {{/SinglePremium}}
-                &nbsp;${{InitPrem}}
+                &nbsp;${{InitPrem}}<br>
             {{/IsInforce}}
-            <br>
 
             {{^Composite}}
                 Initial Death Benefit Option: {{InitDBOpt}}<br>
@@ -88,31 +86,28 @@
             Guaranteed Crediting Rate: {{InitAnnGenAcctInt_Guaranteed}}<br>
 
             Current Illustrated Crediting Rate:
-                {{PresentCreditingRate}}
-            <br>
+                {{PresentCreditingRate}}<br>
 
             {{#SinglePremium}}
                 {{#InforceYearLT5}}
                     Ultimate Illustrated Crediting Rate:
                     {{#ModifiedSinglePremium0}}
-                        {{AnnGAIntRate_Current[10]}}
+                        {{AnnGAIntRate_Current[10]}}<br>
                     {{/ModifiedSinglePremium0}}
                     {{^ModifiedSinglePremium0}}
-                        {{AnnGAIntRate_Current[5]}}
+                        {{AnnGAIntRate_Current[5]}}<br>
                     {{/ModifiedSinglePremium0}}
-                    <br>
                 {{/InforceYearLT5}}
             {{/SinglePremium}}
 
             {{^Composite}}
                 Underwriting Type:
                 {{#UWTypeIsMedical}}
-                    Fully underwritten
+                    Fully underwritten<br>
                 {{/UWTypeIsMedical}}
                 {{^UWTypeIsMedical}}
-                    {{UWType}}
+                    {{UWType}}<br>
                 {{/UWTypeIsMedical}}
-                <br>
                 Rate Classification: {{UWClass}}, {{Smoker}}, {{Gender}}<br>
                 {{#UWClassIsRated}}
                 &nbsp;&nbsp;&nbsp;Table Rating: {{SubstandardTable}}<br>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]