modified content_macro(): pass param.as to getRenderedContentPart() since the latter now accepts different text formats (plaintext, alttext ...)
This commit is contained in:
parent
b1f764e855
commit
db341b6b52
1 changed files with 2 additions and 2 deletions
|
@ -23,9 +23,9 @@ function content_macro(param) {
|
||||||
default :
|
default :
|
||||||
if (!param.clipping)
|
if (!param.clipping)
|
||||||
param.clipping = "...";
|
param.clipping = "...";
|
||||||
var part = this.getRenderedContentPart(param.part);
|
var part = this.getRenderedContentPart(param.part, param.as);
|
||||||
if (!part && param.fallback)
|
if (!part && param.fallback)
|
||||||
part = this.getRenderedContentPart(param.fallback);
|
part = this.getRenderedContentPart(param.fallback, param.as);
|
||||||
if (param.as == "link") {
|
if (param.as == "link") {
|
||||||
if (this._prototype != "comment")
|
if (this._prototype != "comment")
|
||||||
Html.openLink({href: this.href()});
|
Html.openLink({href: this.href()});
|
||||||
|
|
Loading…
Add table
Reference in a new issue