Leaflet / Leafdoc

A lightweight NaturalDocs-like LeafletJS-style documentation generator
54 stars 19 forks source link

Avoid links inside links #56

Closed IvanSanchez closed 4 years ago

IvanSanchez commented 4 years ago

Some docstring blocks might generate links inside links. Specifically...

/**
 * @class KeyboardEvent
 * @inherits Event
 * @property originalEvent: DOMEvent
 * The original [DOM `KeyboardEvent`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent) that triggered this Leaflet event.
 */

...turns DOM `KeyboardEvent` into DOM <a href='#keyboardevent`>KeyboardEvent</a>, breaking the outer link.

IvanSanchez commented 4 years ago

Fixed by 1c1f01f293b3e97550c53aac8c0fd42d7c5db968