Closed uqs closed 3 years ago
Recipes with <br> in their code should export properly.
<br>
<br> gets turned into a newline.
Write a recipe like so:
"oglaf.com": { "type": "xpath", "xpath": [ "img[@id='strip']", "img[@id='strip']\/@title", "img[@id='strip']\/@alt" ], "multipage": { "xpath": "a[@class='button next']", "append": true, "recursive": true }, "join_element": "<br>" },
{ "name": "oglaf.com", "url": "oglaf.com", "stamp": 1599239646, "author": "", "match": "oglaf.com", "config": { "type": "xpath", "xpath": [ "img[@id='strip']", "img[@id='strip']\/@title", "img[@id='strip']\/@alt" ], "multipage": { "xpath": "a[@class='button next']", "append": true, "recursive": true }, "join_element": " " } }
Note how the <br> in join_element has disappeared for a newline.
Expected Behavior
Recipes with
<br>
in their code should export properly.Current Behavior
<br>
gets turned into a newline.Steps to Reproduce
Write a recipe like so:
Note how the
<br>
in join_element has disappeared for a newline.