( paper, researcher )
| 14 | * @returns {void} |
| 15 | */ |
| 16 | export default function buildTree( paper, researcher ) { |
| 17 | const languageProcessor = new LanguageProcessor( researcher ); |
| 18 | const shortcodes = paper._attributes && paper._attributes.shortcodes; |
| 19 | paper.setTree( build( paper, languageProcessor, shortcodes ) ); |
| 20 | } |
| 21 | |
| 22 | /** |
| 23 | * Builds an HTML tree for a given paper and researcher, and adds it to the paper. |
no test coverage detected