Transform & Replace Selection With Javas Script - plain text

I would like to be able to say that I want to transform plain text and not formatted text, which is the default.

Current workaround: I call a bash script. But I would prefer to do everything with JS.

Why do you think BTT formatted text is the default? As far as I can tell BTT is only retrieving plain text for this action.

When I google in Firefox for "dog" and copy paste with the transformer, I get:

<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body><span>The <em>dog</em> or domestic <em>dog</em> is a domesticated descendant of the wolf which is characterized by an upturning tail. The <em>dog</em> is derived from an ancient</span></body></html>

instead of

The dog or domestic dog is a domesticated descendant of the wolf which is characterized by an upturning tail. The dog is derived from an ancient

.

Thanks, I'll have a look!