Page MenuHomePhabricator

VisualEditor:The <nowiki/> tag remains even after deleting spaces in between the link and re-applying a new link on it
Closed, ResolvedPublic

Description

wikitext after step 8

Steps to reproduce:

1.Open a page with VE
2.Type the following text:
Tex ted
3.Select this part of the text "Tex t" with a space in between.
4.Now apply a link on it with command+k
5.Save the page.
6.Go to Edit source and observe the resulting wikitext for this is:
[[tex t]]<nowiki/>ed

7.Now reopen the page delete the space make it "texted" and delete the link applied.
8.Reapply another link by selecting the whole text "texted"

Observed Result:
The <nowiki/> tag still remains.The resulting wikitext after step 8 is:
[[texted|text]]<nowiki/>[[texted|ed]]

See the screenshot attached.

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65
OS: MAC OS X 10. 8. 5
Page:http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Jan8th&action=edit


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-01-08_at_11.30.35_AM.png (414×609 px, 40 KB)

Details

Reference
bz59829

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:30 AM
bzimport set Reference to bz59829.

This is because <nowiki /s> (unlike <nowiki>s) are "meta" items in the DOM rather than things VE can edit; merging with bug 56381.

  • This bug has been marked as a duplicate of bug 56381 ***