(header)
| 1101 | } |
| 1102 | |
| 1103 | function getHeaderContent (header) { |
| 1104 | const headerHTML = $(header).clone() |
| 1105 | headerHTML.find('.MathJax_Preview').remove() |
| 1106 | headerHTML.find('.MathJax').remove() |
| 1107 | return headerHTML[0].innerHTML |
| 1108 | } |
| 1109 | |
| 1110 | function changeHeaderId ($header, id, newId) { |
| 1111 | $header.attr('id', newId) |
no test coverage detected