Lookups with selection2link
and where multiple lines are selected create broken wikilinks
#2854
Closed
2 of 7 tasks
Labels
scope.lookup
Anything Lookup related
scope.markdown
Relating to markdown features (i.e. supporting new language syntax)
type.bug
Something isn't working
Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)
Describe the bug
If multiple lines are selected when doing a lookup with
selection2link
set, the created link will contain multiple lines in the alias portion of the wikilink which breaks it.To Reproduce
Steps to reproduce the behavior:
selection2link
and create the linkExpected behavior
Lookup should strip newlines from the link while creating it.
The text was updated successfully, but these errors were encountered: