weird bullet list spacing
Checking out the weird spacing in these two separate bullet lists:
handlers.linkis fired with the result of each discovered link (broken or not) within the current queue item.handlers.itemis fired after a queue item's last result, on zero results, or if the HTML could not be retreived.handlers.endis fired when the end of the queue has been reached..dequeue(id)removes an item from the queue. Returnstrueon success or anErroron failure..enqueue(htmlUrl, customData)adds an item to the queue. Items are auto-dequeued when their requests are complete. Returns a queue ID on success or anErroron failure.customDatais optional data that is stored in the queue item.
.length()returns the number of items in the queue..numActiveItems()returns the number of active HTML URL sessions (series of link requests)..numActiveLinks()returns the number of active link requests..pause()will pause the queue, but will not pause any active requests..resume()will resume the queue.
It renders like ~~five~~ four separate lists when it should only render as two. Appears to be caused by <p> tags.
Markdown:
* `handlers.link` is fired with the result of each discovered link (broken or not) within the current queue item.
* `handlers.item` is fired after a queue item's last result, on zero results, or if the HTML could not be retreived.
* `handlers.end` is fired when the end of the queue has been reached.
* `.dequeue(id)` removes an item from the queue. Returns `true` on success or an `Error` on failure.
* `.enqueue(htmlUrl, customData)` adds an item to the queue. Items are auto-dequeued when their requests are complete. Returns a queue ID on success or an `Error` on failure.
* `customData` is optional data that is stored in the queue item.
* `.length()` returns the number of items in the queue.
* `.numActiveItems()` returns the number of active HTML URL sessions (series of link requests).
* `.numActiveLinks()` returns the number of active link requests.
* `.pause()` will pause the queue, but will not pause any active requests.
* `.resume()` will resume the queue.
Same issue as #504? (though with a better explanation and title :smile: )
Appears similar, though that one appears to have been caused by having a nested item where as this one not only suffers from the same, but also more.
👋 Sorry for the delayed response! It looks like the rendering here has already improved from your original description. I can confirm, in it's current state, this is a duplicate of #504, so I'm going to close in favor of that one.
The workaround I added over there will work for this case as well. You can add an empty HTML comment between your lists to ensure that they become separate lists:
* `handlers.end` is fired when the end of the queue has been reached.
<!-- -->
* `.dequeue(id)` removes an item from the queue. Returns `true` on success or an `Error` on failure.