Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#16232 closed enhancement (fixed)

strip whitespace before 'sage:' prompt when preparsing

Reported by: jhpalmieri Owned by:
Priority: minor Milestone: sage-6.2
Component: misc Keywords:
Cc: Merged in:
Authors: John Palmieri Reviewers: Nathann Cohen
Report Upstream: N/A Work issues:
Branch: 1cc8159 (Commits) Commit:
Dependencies: Stopgaps:

Description

If you paste an EXAMPLES block from source code into Sage, it doesn't work because of the spaces before the sage: prompt. So strip whitespace along with the prompts.

Change History (5)

comment:1 Changed 6 years ago by jhpalmieri

  • Status changed from new to needs_review

comment:2 Changed 6 years ago by ncohen

  • Reviewers set to Nathann Cohen
  • Status changed from needs_review to positive_review

Oh......... That's what happened ! Thanks for fixing this :-)

Nathann

comment:3 Changed 6 years ago by jhpalmieri

See also #16196.

comment:4 Changed 6 years ago by vbraun

  • Branch changed from u/jhpalmieri/sage-prompt-whitespace to 1cc815956494ad8512966e8e265dbb0e302a6099
  • Resolution set to fixed
  • Status changed from positive_review to closed

comment:5 Changed 6 years ago by leif

  • Commit 1cc815956494ad8512966e8e265dbb0e302a6099 deleted
  • Milestone changed from sage-6.3 to sage-6.2
Note: See TracTickets for help on using tickets.