Skip to content

Commit

Permalink
Revert "add webapp inspect tag"
Browse files Browse the repository at this point in the history
This reverts commit eac90df.
  • Loading branch information
pzinn committed Sep 30, 2024
1 parent 4a9b511 commit 54b1736
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions M2/Macaulay2/m2/webapp.m2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ needs "monideal.m2"

-- topLevelMode=WebApp definitions
-- tags are required to help the browser app distinguish html from text
webAppTags := apply((17,18,19,20,28,29,30,14,21,15),ascii);
webAppTags := apply((17,18,19,20,28,29,30,14,21),ascii);
( webAppHtmlTag, -- indicates what follows is HTML ~ <span class='M2Html'>
webAppEndTag, -- closing tag ~ </span>
webAppCellTag, -- start of cell (bundled input + output) ~ <p>
Expand All @@ -15,8 +15,7 @@ webAppTags := apply((17,18,19,20,28,29,30,14,21,15),ascii);
webAppInputContdTag, -- text, continuation of input
webAppUrlTag, -- used internally to follow URLs
webAppPromptTag, -- input/output prompt
webAppPositionTag, -- code position (row:col)
webAppInspectTag -- preliminary support for inspector
webAppPositionTag -- code position (row:col)
)=webAppTags;

webAppTagsRegex := concatenate("[",webAppTags,"]")
Expand Down

0 comments on commit 54b1736

Please sign in to comment.