($el)
| 269 | } |
| 270 | |
| 271 | replaceStrong($el) { |
| 272 | let that = this; |
| 273 | let hContent = $el.prop("outerHTML"); |
| 274 | let strongs = $el.find('strong'); |
| 275 | if (strongs.length) { |
| 276 | strongs.each(function (index, el) { |
| 277 | let outHtml = that.$(el).prop("outerHTML"); |
| 278 | let text = that.$(el).text(); |
| 279 | hContent = hContent.replace(outHtml, `**${text}**`); |
| 280 | }); |
| 281 | } |
| 282 | return hContent; |
| 283 | } |
| 284 | |
| 285 | replaceCite($el) { |
| 286 | let that = this; |