{"id":8734,"date":"2020-12-24T09:04:11","date_gmt":"2020-12-24T17:04:11","guid":{"rendered":"https:\/\/minisoft.com\/support\/?p=8734"},"modified":"2020-12-24T09:04:11","modified_gmt":"2020-12-24T17:04:11","slug":"keep-empty-lines-in-the-document-template","status":"publish","type":"post","link":"https:\/\/minisoft.com\/support\/keep-empty-lines-in-the-document-template\/","title":{"rendered":"Keep Empty Lines in the Document Template"},"content":{"rendered":"\n<p>Let&#8217;s say you have a variable scrape picking up a block of data and you want to keep a blank line in the block. There are two methods for accomplishing this. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Repeat the element on a repeating variable<\/h2>\n\n\n\n<p>One option is to repeat the element on a repeating variable that has no blank entries. You can construct one, using various techniques. One technique is:<\/p>\n\n\n\n<ol type=\"1\"><li>Use the EPP_GetArraySize.efz or EPP_GetTotalArraySize.efz utility project to get the size of an existing array, presumably the one containing the data you want to display.<\/li><li>Call the EPP_CreateArray.efz utility project to create your reference array, using the InitValue parameter to specify some non-blank value, like \u201c.\u201d.<\/li><\/ol>\n\n\n\n<p>Use this reference array as the repeating variable on the Document Template.<\/p>\n\n\n\n<p>Download the aforementioned projects here: <a href=\"\/support\/wp-content\/uploads\/2020\/12\/Array.zip\"><strong>Array<\/strong><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Concatenate \\n, new variable, bulk concatenate<\/h2>\n\n\n\n<p>Another option is to concatenate a newline, add a new variable and use bulk concatenate. To view a sample project, download the following: <strong><a href=\"\/support\/wp-content\/uploads\/2020\/12\/KeepBlankLine.zip\">Keep Blank Line<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s say you have a variable scrape picking up a block of data and you want to keep a blank line in the block. There are two methods for accomplishing this. Repeat the element on a repeating variable One option is to repeat the element on a repeating variable that has no blank entries. You [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59],"tags":[47],"_links":{"self":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/8734"}],"collection":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=8734"}],"version-history":[{"count":1,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/8734\/revisions"}],"predecessor-version":[{"id":8737,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/8734\/revisions\/8737"}],"wp:attachment":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=8734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=8734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=8734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}