Respect comment internal whitespace in email

Bug: Issue 5062
Change-Id: I85b455c28f7ceab70c0ea5fa97ff0f843cfb9f41
This commit is contained in:
Wyatt Allen 2016-12-05 15:11:32 -08:00
parent e3f7c69059
commit 0dd0990da1

View File

@ -63,9 +63,14 @@
padding: 0 10px; padding: 0 10px;
{/let} {/let}
{let $pStyle kind="css"}
white-space: pre-wrap;
word-wrap: break-word;
{/let}
{foreach $block in $content} {foreach $block in $content}
{if $block.type == 'paragraph'} {if $block.type == 'paragraph'}
<p>{$block.text}</p> <p style="{$pStyle}">{$block.text}</p>
{elseif $block.type == 'quote'} {elseif $block.type == 'quote'}
<blockquote style="{$blockquoteStyle}"> <blockquote style="{$blockquoteStyle}">
{call .WikiFormat}{param content: $block.quotedBlocks /}{/call} {call .WikiFormat}{param content: $block.quotedBlocks /}{/call}