diff --git a/rtf.js b/rtf.js index c181f24..675b108 100644 --- a/rtf.js +++ b/rtf.js @@ -325,8 +325,10 @@ RTFJS.Renderer.prototype._appendToPar = function(el, newsubpar) { RTFJS.Renderer.prototype.startPar = function() { this._curpar = $("
"); - if (this._curRPap != null) + if (this._curRPap != null) { this._curRPap.apply(this._doc, this._curpar, this._curRChp, true); + this._curRPap.apply(this._doc, this._curpar, this._curRChp, false); + } this._cursubpar = null; this._curcont = []; this._dom.push(this._curpar); diff --git a/samples/hyperlink.rtf b/samples/hyperlink.rtf index 602d07f..bf8ce85 100644 Binary files a/samples/hyperlink.rtf and b/samples/hyperlink.rtf differ