| 19860 | * Adds an HTML blockquote to the summary buffer |
| 19861 | * |
| 19862 | * @param {string} text quote text |
| 19863 | * @param {string} cite (optional) citation url |
| 19864 | * |
| 19865 | * @returns {Summary} summary instance |
| 19866 | */ |
| 19867 | addQuote(text, cite) { |
| 19868 | const attrs = Object.assign({}, cite && { cite }); |
| 19869 | const element = this.wrap("blockquote", text, attrs); |
| 19870 | return this.addRaw(element).addEOL(); |
| 19871 | } |
| 19872 | /** |
| 19873 | * Adds an HTML anchor tag to the summary buffer |
| 19874 | * |
| 19875 | * @param {string} text link text/content |
| 19876 | * @param {string} href hyperlink |
| 19877 | * |