Bug 53117 - cann't paste all if the paragraph include <esc> and </esc> code in a netpage
Summary: cann't paste all if the paragraph include <esc> and </esc> code in a netpage
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-04 08:07 UTC by KinderGa
Modified: 2013-11-15 23:47 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
sample XML (292 bytes, text/xml)
2013-01-09 16:49 UTC, Brenda Granados
Details
the accompanying style sheet (141 bytes, text/css)
2013-01-09 16:49 UTC, Brenda Granados
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KinderGa 2012-08-04 08:07:03 UTC
for example,

if a netpage have a paragraph like below:
A confirmation email has been sent containing a link to continue creating an account. The link will expire if an account is not created within 3 days. 

but the source code is :
A confirmation email has been sent containing <esc> a link to continue creating an account. The link will expire </esc> if an account is not created within 3 days. 

in firefox you will see:
A confirmation email has been sent containing a link to continue creating an account. The link will expire if an account is not created within 3 days. 

and you select it and copy, then paste it to LibreOfficeWriter, then you can see:
A confirmation email has been sent containing  if an account is not created within 3 days. 

the words between <esc> and </esc> had been lost.
i don't know why somebody put the tag <ecs> and </ecs> in a netpage, but i really find it in http://www.linuxeden.com/html/news/20120221/120473.html.

that is all.

thank you !
Comment 1 Brenda Granados 2013-01-09 16:49:03 UTC
Created attachment 72732 [details]
sample XML

a sample xml with <esc> tags.
Comment 2 Brenda Granados 2013-01-09 16:49:34 UTC
Created attachment 72733 [details]
the accompanying style sheet
Comment 3 Brenda Granados 2013-01-09 16:54:49 UTC
I cannot confirm this. I tested it with the sample attachments. I included the escaped message in the xml. I first tried to open it as a text file, and copy and paste, and the message, tags and all, appeared on the Writer document. Then I opened the XML as a web page in Firefox, and copied and pasted the web page text, and the whole message, sans tags, showed up. 

I also tried saving and reopening the Writer document, with no observed issues.
Comment 4 KinderGa 2013-01-11 07:08:03 UTC
  2013-01-10 00:54, bugzilla-daemon@freedesktop.org :
>
> *Comment # 3 <https://bugs.freedesktop.org/show_bug.cgi?id=53117#c3> 
> on bug 53117 <https://bugs.freedesktop.org/show_bug.cgi?id=53117> from 
> bgran05@gmail.com <mailto:bgran05@gmail.com> *
> I cannot confirm this. I tested it with the sample attachments. I included the
> escaped message in the xml. I first tried to open it as a text file, and copy
> and paste, and the message, tags and all, appeared on the Writer document. Then
> I opened the XML as a web page in Firefox, and copied and pasted the web page
> text, and the whole message, sans tags, showed up.
>
> I also tried saving and reopening the Writer document, with no observed issues.
> ------------------------------------------------------------------------
> You are receiving this mail because:
>
>   * You reported the bug.
>
Thank you for you letter.
But In my LibreOfficeWriter, the problem is still continue.


You say:

> I opened the XML as a web page in Firefox, and copied and pasted the web page
> text, and the whole message, sans tags, showed up.

You copied the text in the firefox(but not the source code), and pasted 
all the text to the LibreOfficeWriter,  but with no observed issues.

Maybe it is just my computer's problem. I just have one computer, and my 
friends' computers installed windows-word. So I cannot test the bug in 
the other computer. I'm sorry for wasted your time.

Thank you for you letter again!
Comment 5 Brenda Granados 2013-02-14 19:46:30 UTC
Hi, I am marking this as WORKSFORME. Thank you for reporting the bug. You didn't waste my time! I learn something new from bug testing every day!