summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-02 21:50:27 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-02 21:50:27 +0000
commitb061afa04f88b3bceca4a1058a5fee2812bdd593 (patch)
treea0579bbe00fa572eb91b984df6366f69432fb22d /templates
parentc1f06b98f4cbce55c14c014b12f3c127ce8d4a44 (diff)
Handle <br> and $form->address in templates
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1842 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'templates')
-rw-r--r--templates/demo/balance_sheet.html5
-rw-r--r--templates/demo/income_statement.html5
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/demo/balance_sheet.html b/templates/demo/balance_sheet.html
index e21fe7b3..23430e9b 100644
--- a/templates/demo/balance_sheet.html
+++ b/templates/demo/balance_sheet.html
@@ -56,8 +56,9 @@ END ?>
<body>
<h2 align="center">
-<?lsmb company ?>
-<br /><?lsmb address ?>
+<?lsmb company -?>
+<?lsmb #SC: This is to convert a line termination indicator to a real br ?>
+<br /><?lsmb address.split('&lt;br&gt;').join('<br />') ?>
<br /><?lsmb text('Balance Sheet') ?>
<br /><?lsmb text('as at [_1]', this_period) ?>
diff --git a/templates/demo/income_statement.html b/templates/demo/income_statement.html
index 03043ae6..0198f4c5 100644
--- a/templates/demo/income_statement.html
+++ b/templates/demo/income_statement.html
@@ -56,8 +56,9 @@ END ?>
<body>
<h2 align="center">
-<?lsmb company ?>
-<br /><?lsmb address ?>
+<?lsmb company -?>
+<?lsmb #SC: This is to convert a line termination indicator to a real br ?>
+<br /><?lsmb address.split('&lt;br&gt;').join('<br />') ?>
<br /><?lsmb text('Income Statement') ?>
<br /><?lsmb text('for Period') ?>