Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

crash on home page when project not running #6859

Open
@haraldschilly

Description

Opened a sagews file as a "normal user", project wasn't running, and when opening the "home page" of the project, I saw this stack trace.

Screenshot from 2023年08月08日 09-28-36

The part in the code is here, pointy brackets indicate the location.

 function u(e) {
 var t = !0
 , n = !1
 , r = void 0;
 try {
 for (var i, o = e[Symbol.iterator](); !(t = (i = o.next()).done); t = !0) {
 var a = i.value;
 a.content && a.content.includes(s) && (a.content = a.content.replace(c, ""),
 null != a.children && u(a.children))
 }
 } catch (e) {
 n = !0,
 r = e
 } finally {
 try {
 t || null == o.return || o.return()
 } finally {
 if (n)
 throw r
 }
 }
 }
 function d(e, t) {
 var n = void 0;
 if (e = function(e) {
 return e.replace(/^(```+)\s+$/gm, "1ドル") <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 }(e),
 !t) {
 var i = (0,
 r.parseHeader)(e);
 e = i.body,
 n = i.header
 }
 var o = e.split("\n");
 e = function(e) {
 return e.replace(/(?:\S)\ $/gm, (function(e) {
 return e[0] + l
 }
 ))
 }(e);
 var a = {}
 , s = r.markdown_it.parse(e, a);
 return u(s),
 {
 tokens: s,
 meta: n,
 lines: o,
 references: a.references
 }
 }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /