[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master cfdf224 016/156: Use raw multiline string ins
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master cfdf224 016/156: Use raw multiline string instead of concatenating several strings |
Date: |
Tue, 30 Jan 2018 17:21:52 -0500 (EST) |
branch: master
commit cfdf2243d533aaa241cfea7bcaf9ef17f8ba967c
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>
Use raw multiline string instead of concatenating several strings
No real changes, just reduce the number of quotes a bit.
---
ledger_pdf_generator_wx.cpp | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index 1b02767..6b5fb16 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -400,10 +400,11 @@ class cover_page : public page
auto const footer_html = tag::p[attr::align("center")]
(tag::font[attr::size("-1")]
(interpolate_html
- ("${InsCoShortName} Financial Group is a marketing "
- "name for ${InsCoName} (${InsCoShortName}) and its "
- "affiliated company and sales representatives, "
- "${InsCoAddr}."
+ (R"(
+${InsCoShortName} Financial Group is a marketing
+name for ${InsCoName} (${InsCoShortName}) and its
+affiliated company and sales representatives, ${InsCoAddr}.
+)"
)
)
);
- [lmi-commits] [lmi] master updated (70fb246 -> 408ba18), Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master cfdf224 016/156: Use raw multiline string instead of concatenating several strings,
Greg Chicares <=
- [lmi-commits] [lmi] master 1d99e76 008/156: Make pdf_writer_wx::output_html() type safe by taking html::text, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master e43a485 005/156: Further improve wxPdfDocument API encapsulation and reuse, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 7d278ef 011/156: Add footer to the cover page, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master d5d8185 057/156: Add tabular_details page, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master bb64784 013/156: Add a helper allowing to interpolate variables in strings, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master b72ced6 014/156: Replace ad hoc illustration properties with HTML interpolator, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master e7d763d 066/156: Add company logo display to the PDF illustration header, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master f575c94 003/156: Refactor more group_quote_pdf_gen_wx code to allow its reuse, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 5e2fc70 007/156: Make HTML generation utilities more type-safe, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 7ed2bbf 027/156: Simplify footer generation code by moving font tag outside, Greg Chicares, 2018/01/30