I've an HTML content in cell A1, I want to render the HTML content and add the rendered HTML content in cell B1
e.g. if I've this HTML in A1
<label class="s-label mb4 d-block" for="wmd-input">
Body
<p class="s-description mt2">Include all the information someone would need to answer your question</p>
</label>
I want the output in B1 to be
Body
Include all the information someone would need to answer your question
I've tried
var htmlTarget = current.getRange('A1').getValue();
var htmlOutput = HtmlService.createHtmlOutput(htmlTarget);
var message = htmlOutput.getContent();
database.getRange('B1').setValue(message);
And it gets the same HTML and pastes it with the tags without rendering anything