Page MenuHomePhabricator

To an external web page Link : line break is not functioning in preview
Closed, InvalidPublic

Description

Author: wikibugs

Description:
Screen print of the error

Reporting against Babaco Release : r57957

Steps to Reproduce ::

1)Select a random page
2)Edit a section
3)Click link to add a link
4)Select “To an external web page”
5)Enter the text in page title. Example: Google
<< “To a wiki page” option is getting selected>>
<<If the user enter “.com ” , “To an external web page” option is selected>>

6)Enter a space in “Link text” section
7)Click on “Insert link”
8)Press enter in and add another link
9)Click on Preview
<<All the links are in one line even the lines are braked by enter>>

Expected Outcome::
Options should not be switched between according to the Page Title entered. Suggest changing the Page title to URL when the user selects the option “To an external web page”. Then users have the visibility that they have to enter an URL to create the external link

One user break the line by one enter, in preview the links should show with the line break

Test Environment::
Browser (User-Agent): Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 (.NET CLR 3.5.30729)

Browser (User-Agent): Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 Version/10.00


Version: unspecified
Severity: normal
Platform: PC

Attached:

Details

Reference
bz21217

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:50 PM
bzimport set Reference to bz21217.

(In reply to comment #0)

Expected Outcome::
Options should not be switched between according to the Page Title entered.

If the page title is empty or consists only of spaces, a number in brackets is shown instead. This is expected behavior.

Suggest changing the Page title to URL when the user selects the option “To
an external web page”. Then users have the visibility that they have to enter
an URL to create the external link

We're working on a more generic label.

One user break the line by one enter, in preview the links should show with the
line break

This is also expected behavior: single line breaks are ignored, double line breaks separate paragraph. This is how wikitext works.