[Issue 5915] New: Newlines are not propagated when copy&pasting code snippets

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 30 20:28:10 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5915

           Summary: Newlines are not propagated when copy&pasting code
                    snippets
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-04-30 20:24:22 PDT ---
This only happens on d-programming-language.org.

If you try to copy&paste the first snippet from here:
http://d-programming-language.org/phobos/std_range.html

Pasted:
R r; // can define a range object if (r.empty) {} // can test for empty
r.popFront; // can invoke next auto h = r.front; // can get the front of the
range 

Note that Bugzilla might add its own newlines to limit text width. But there's
no newlines where there should be.

---

Copying from here:
http://www.digitalmars.com/d/2.0/phobos/std_range.html

Pasted:
R r;             // can define a range object
if (r.empty) {}  // can test for empty
r.popFront;          // can invoke next
auto h = r.front; // can get the front of the range

On digitalmars.com it works ok.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list