Add initial RTL support for post bodies
This commit is contained in:
parent
531e5d7f3e
commit
c76af27533
|
@ -59,7 +59,7 @@
|
||||||
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
||||||
<div class="wall-item-title-end"></div>
|
<div class="wall-item-title-end"></div>
|
||||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}">
|
<div class="wall-item-body" id="wall-item-body-{{$item.id}}">
|
||||||
<span class="e-content">{{$item.body_html nofilter}}<span>
|
<span class="e-content" dir="auto">{{$item.body_html nofilter}}<span>
|
||||||
<div class="body-tag">
|
<div class="body-tag">
|
||||||
{{if !$item.suppress_tags}}
|
{{if !$item.suppress_tags}}
|
||||||
{{foreach $item.tags as $tag}}
|
{{foreach $item.tags as $tag}}
|
||||||
|
|
|
@ -246,7 +246,7 @@ as the value of $top_child_total (this is done at the end of this file)
|
||||||
<span class="wall-item-title" id="wall-item-title-{{$item.id}}"><h4 class="media-heading"><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h4><br /></span>
|
<span class="wall-item-title" id="wall-item-title-{{$item.id}}"><h4 class="media-heading"><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h4><br /></span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}" id="wall-item-body-{{$item.id}}">{{$item.body_html nofilter}}</div>
|
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}" id="wall-item-body-{{$item.id}}" dir="auto">{{$item.body_html nofilter}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- TODO -->
|
<!-- TODO -->
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-content">
|
<div class="wall-item-content">
|
||||||
{{if $item.title}}<h2><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h2>{{/if}}
|
{{if $item.title}}<h2><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h2>{{/if}}
|
||||||
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}">{{$item.body_html nofilter}}</div>
|
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}" dir="auto">{{$item.body_html nofilter}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-bottom">
|
<div class="wall-item-bottom">
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
||||||
<div class="wall-item-title-end"></div>
|
<div class="wall-item-title-end"></div>
|
||||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}">
|
<div class="wall-item-body" id="wall-item-body-{{$item.id}}">
|
||||||
<span class="e-content">{{$item.body_html nofilter}}</span>
|
<span class="e-content" dir="auto">{{$item.body_html nofilter}}</span>
|
||||||
<div class="body-tag">
|
<div class="body-tag">
|
||||||
{{if !$item.suppress_tags}}
|
{{if !$item.suppress_tags}}
|
||||||
{{foreach $item.tags as $tag}}
|
{{foreach $item.tags as $tag}}
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
<div itemprop="description" class="wall-item-content">
|
<div itemprop="description" class="wall-item-content">
|
||||||
{{if $item.title}}<h2><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h2>{{/if}}
|
{{if $item.title}}<h2><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h2>{{/if}}
|
||||||
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}">{{$item.body_html nofilter}}</div>
|
<div class="wall-item-body e-content {{if !$item.title}}p-name{{/if}}" dir="auto">{{$item.body_html nofilter}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-bottom">
|
<div class="wall-item-bottom">
|
||||||
|
|
Loading…
Reference in a new issue