Fixed code block having extra /home/gitpod lines in it
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
5a3bbd231e
commit
a0f7936575
@ -1,4 +1,4 @@
|
|||||||
35
|
39
|
||||||
That is a great idea!
|
That is a great idea!
|
||||||
username,17May2021 08:29:10;GREEN
|
username,17May2021 08:29:10;GREEN
|
||||||
That is a great idea! <p>There used to be folks I worked with who would use the same technique, and it worked great!</p>
|
That is a great idea! <p>There used to be folks I worked with who would use the same technique, and it worked great!</p>
|
||||||
@ -69,3 +69,11 @@ fdsa2022-07-28T19:25:51.209453Z[Etc/UTC];GREEN
|
|||||||
2022-07-28T19:56:50.050699Z[Etc/UTC];GREEN
|
2022-07-28T19:56:50.050699Z[Etc/UTC];GREEN
|
||||||
%F0%9F%98%8A<i>Italicized</i><b>Bolded</b>%20<b><i>Both</i></b>%20<b><i><u>All%20three</u></i></b>
|
%F0%9F%98%8A<i>Italicized</i><b>Bolded</b>%20<b><i>Both</i></b>%20<b><i><u>All%20three</u></i></b>
|
||||||
2022-07-28T19:57:21.107759Z[Etc/UTC];GREEN
|
2022-07-28T19:57:21.107759Z[Etc/UTC];GREEN
|
||||||
|
%255ETest%255E
|
||||||
|
2022-07-28T19:58:17.524846Z[Etc/UTC];GREEN
|
||||||
|
~<pre><span class="keyword">opefully</span> <span class="keyword">this</span> <span class="keyword">code</span> <span class="keyword">block</span> <span class="keyword">has</span> <span class="keyword">no</span> <span class="keyword">extra</span> <span class="class">endings</span>.<span class="variable"></span></~
|
||||||
|
2022-07-28T20:07:22.711422Z[Etc/UTC];GREEN
|
||||||
|
~<pre><span class="keyword">I</span> <span class="keyword">think</span> <span class="keyword">the</span> <span class="keyword">front</span> <span class="keyword">one</span> <span class="keyword">is</span> <span class="keyword">still</span> <span class="variable">there</span></~
|
||||||
|
2022-07-28T20:08:50.191504Z[Etc/UTC];GREEN
|
||||||
|
<pre><span class="keyword">Code</span> <span class="keyword">block</span> <span class="keyword">now</span> <span class="variable">works</span>!</
|
||||||
|
2022-07-28T20:13:09.268431Z[Etc/UTC];GREEN
|
||||||
|
@ -17,14 +17,14 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="contentBody">
|
<div class="contentBody">
|
||||||
<h2>Directory Listing for /</h2><div class="folderlisting"><a href="/.." class="icon">📁</a><a href="/..">.. </a><a href="/.." class="nounderline">(Previous Directory)</a></div><div class="folderlisting"><a href="/articles" class="icon">📁</a><a href="/articles">articles</a> 2022-07-28T19:56:08.84481Z gitpod 4096</div>
|
<h2>Directory Listing for /</h2><div class="folderlisting"><a href="/.." class="icon">📁</a><a href="/..">.. </a><a href="/.." class="nounderline">(Previous Directory)</a></div><div class="folderlisting"><a href="/articles" class="icon">📁</a><a href="/articles">articles</a> 2022-07-28T20:13:01.727924Z gitpod 4096</div>
|
||||||
<div class="filelisting"><a href="/codeBackground" class="icon">🗎</a><a href="/codeBackground">codeBackground</a> 2022-07-28T19:56:08.748811Z gitpod 8822</div>
|
<div class="filelisting"><a href="/codeBackground" class="icon">🗎</a><a href="/codeBackground">codeBackground</a> 2022-07-28T20:13:01.635924Z gitpod 8822</div>
|
||||||
<div class="folderlisting"><a href="/images" class="icon">📁</a><a href="/images">images</a> 2022-07-28T19:56:08.84081Z gitpod 58</div>
|
<div class="folderlisting"><a href="/images" class="icon">📁</a><a href="/images">images</a> 2022-07-28T20:13:01.715924Z gitpod 58</div>
|
||||||
<div class="filelisting"><a href="/otherpage.html" class="icon">🗎</a><a href="/otherpage.html">otherpage.html</a> 2022-07-28T19:56:08.752811Z gitpod 7126</div>
|
<div class="filelisting"><a href="/otherpage.html" class="icon">🗎</a><a href="/otherpage.html">otherpage.html</a> 2022-07-28T20:13:01.639924Z gitpod 7126</div>
|
||||||
<div class="filelisting"><a href="/reset.css" class="icon">🗎</a><a href="/reset.css">reset.css</a> 2022-07-28T19:56:08.756811Z gitpod 7269</div>
|
<div class="filelisting"><a href="/reset.css" class="icon">🗎</a><a href="/reset.css">reset.css</a> 2022-07-28T20:13:01.639924Z gitpod 7269</div>
|
||||||
<div class="filelisting"><a href="/sig.css" class="icon">🗎</a><a href="/sig.css">sig.css</a> 2022-07-28T19:56:08.764811Z gitpod 15473</div>
|
<div class="filelisting"><a href="/sig.css" class="icon">🗎</a><a href="/sig.css">sig.css</a> 2022-07-28T20:13:01.647924Z gitpod 15473</div>
|
||||||
<div class="filelisting"><a href="/testfile.html" class="icon">🗎</a><a href="/testfile.html">testfile.html</a> 2022-07-28T19:56:08.77681Z gitpod 6987</div>
|
<div class="filelisting"><a href="/testfile.html" class="icon">🗎</a><a href="/testfile.html">testfile.html</a> 2022-07-28T20:13:01.663924Z gitpod 6987</div>
|
||||||
<div class="filelisting"><a href="/uploadform.html" class="icon">🗎</a><a href="/uploadform.html">uploadform.html</a> 2022-07-28T19:56:08.78081Z gitpod 7071</div>
|
<div class="filelisting"><a href="/uploadform.html" class="icon">🗎</a><a href="/uploadform.html">uploadform.html</a> 2022-07-28T20:13:01.663924Z gitpod 7071</div>
|
||||||
|
|
||||||
</div> <!--End Content Body-->
|
</div> <!--End Content Body-->
|
||||||
<div class="codeForeground" id="codeForeground"></div>
|
<div class="codeForeground" id="codeForeground"></div>
|
||||||
|
@ -17,13 +17,13 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="contentBody">
|
<div class="contentBody">
|
||||||
<h2>Directory Listing for /articles/</h2><div class="folderlisting"><a href="/articles/.." class="icon">📁</a><a href="/articles/..">.. </a><a href="/articles/.." class="nounderline">(Previous Directory)</a></div><div class="filelisting"><a href="/articles/Love Live! Custom Arcade Controller.article" class="icon">🗎</a><a href="/articles/Love Live! Custom Arcade Controller.article">Love Live! Custom Arcade Controller.article</a> 2022-07-28T19:56:08.204811Z gitpod 6726</div>
|
<h2>Directory Listing for /articles/</h2><div class="folderlisting"><a href="/articles/.." class="icon">📁</a><a href="/articles/..">.. </a><a href="/articles/.." class="nounderline">(Previous Directory)</a></div><div class="filelisting"><a href="/articles/Love Live! Custom Arcade Controller.article" class="icon">🗎</a><a href="/articles/Love Live! Custom Arcade Controller.article">Love Live! Custom Arcade Controller.article</a> 2022-07-28T20:13:00.923925Z gitpod 6726</div>
|
||||||
<div class="filelisting"><a href="/articles/curabitur vel tempus ex.article" class="icon">🗎</a><a href="/articles/curabitur vel tempus ex.article">curabitur vel tempus ex.article</a> 2022-07-28T19:56:08.236811Z gitpod 6935</div>
|
<div class="filelisting"><a href="/articles/curabitur vel tempus ex.article" class="icon">🗎</a><a href="/articles/curabitur vel tempus ex.article">curabitur vel tempus ex.article</a> 2022-07-28T20:13:00.963925Z gitpod 6935</div>
|
||||||
<div class="filelisting"><a href="/articles/sigplace1.article" class="icon">🗎</a><a href="/articles/sigplace1.article">sigplace1.article</a> 2022-07-28T19:56:08.740811Z gitpod 87035</div>
|
<div class="filelisting"><a href="/articles/sigplace1.article" class="icon">🗎</a><a href="/articles/sigplace1.article">sigplace1.article</a> 2022-07-28T20:13:01.623924Z gitpod 87035</div>
|
||||||
<div class="folderlisting"><a href="/articles/test articles" class="icon">📁</a><a href="/articles/test articles">test articles</a> 2022-07-28T19:56:08.82881Z gitpod 147</div>
|
<div class="folderlisting"><a href="/articles/test articles" class="icon">📁</a><a href="/articles/test articles">test articles</a> 2022-07-28T20:13:01.707924Z gitpod 147</div>
|
||||||
<div class="filelisting"><a href="/articles/Love Live! Custom Arcade Controller.article.html" class="icon">🗎</a><a href="/articles/Love Live! Custom Arcade Controller.article.html">Love Live! Custom Arcade Controller.article.html</a> 2022-07-28T19:56:08.78481Z gitpod 7443</div>
|
<div class="filelisting"><a href="/articles/Love Live! Custom Arcade Controller.article.html" class="icon">🗎</a><a href="/articles/Love Live! Custom Arcade Controller.article.html">Love Live! Custom Arcade Controller.article.html</a> 2022-07-28T20:13:01.671924Z gitpod 7443</div>
|
||||||
<div class="filelisting"><a href="/articles/curabitur vel tempus ex.article.html" class="icon">🗎</a><a href="/articles/curabitur vel tempus ex.article.html">curabitur vel tempus ex.article.html</a> 2022-07-28T19:56:08.80481Z gitpod 7652</div>
|
<div class="filelisting"><a href="/articles/curabitur vel tempus ex.article.html" class="icon">🗎</a><a href="/articles/curabitur vel tempus ex.article.html">curabitur vel tempus ex.article.html</a> 2022-07-28T20:13:01.683924Z gitpod 7652</div>
|
||||||
<div class="filelisting"><a href="/articles/sigplace1.article.html" class="icon">🗎</a><a href="/articles/sigplace1.article.html">sigplace1.article.html</a> 2022-07-28T19:56:08.81681Z gitpod 87752</div>
|
<div class="filelisting"><a href="/articles/sigplace1.article.html" class="icon">🗎</a><a href="/articles/sigplace1.article.html">sigplace1.article.html</a> 2022-07-28T20:13:01.699924Z gitpod 87752</div>
|
||||||
|
|
||||||
</div> <!--End Content Body-->
|
</div> <!--End Content Body-->
|
||||||
<div class="codeForeground" id="codeForeground"></div>
|
<div class="codeForeground" id="codeForeground"></div>
|
||||||
|
@ -17,12 +17,12 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="contentBody">
|
<div class="contentBody">
|
||||||
<h2>Directory Listing for /articles/test articles/</h2><div class="folderlisting"><a href="/articles/test articles/.." class="icon">📁</a><a href="/articles/test articles/..">.. </a><a href="/articles/test articles/.." class="nounderline">(Previous Directory)</a></div><div class="filelisting"><a href="/articles/test articles/test1.article" class="icon">🗎</a><a href="/articles/test articles/test1.article">test1.article</a> 2022-07-28T19:56:08.740811Z gitpod 7254</div>
|
<h2>Directory Listing for /articles/test articles/</h2><div class="folderlisting"><a href="/articles/test articles/.." class="icon">📁</a><a href="/articles/test articles/..">.. </a><a href="/articles/test articles/.." class="nounderline">(Previous Directory)</a></div><div class="filelisting"><a href="/articles/test articles/test1.article" class="icon">🗎</a><a href="/articles/test articles/test1.article">test1.article</a> 2022-07-28T20:13:01.627924Z gitpod 7254</div>
|
||||||
<div class="filelisting"><a href="/articles/test articles/test2.article" class="icon">🗎</a><a href="/articles/test articles/test2.article">test2.article</a> 2022-07-28T19:56:08.744811Z gitpod 6950</div>
|
<div class="filelisting"><a href="/articles/test articles/test2.article" class="icon">🗎</a><a href="/articles/test articles/test2.article">test2.article</a> 2022-07-28T20:13:01.627924Z gitpod 6950</div>
|
||||||
<div class="filelisting"><a href="/articles/test articles/test3.article" class="icon">🗎</a><a href="/articles/test articles/test3.article">test3.article</a> 2022-07-28T19:56:08.748811Z gitpod 7163</div>
|
<div class="filelisting"><a href="/articles/test articles/test3.article" class="icon">🗎</a><a href="/articles/test articles/test3.article">test3.article</a> 2022-07-28T20:13:01.631924Z gitpod 7163</div>
|
||||||
<div class="filelisting"><a href="/articles/test articles/test1.article.html" class="icon">🗎</a><a href="/articles/test articles/test1.article.html">test1.article.html</a> 2022-07-28T19:56:08.82481Z gitpod 7971</div>
|
<div class="filelisting"><a href="/articles/test articles/test1.article.html" class="icon">🗎</a><a href="/articles/test articles/test1.article.html">test1.article.html</a> 2022-07-28T20:13:01.703924Z gitpod 7971</div>
|
||||||
<div class="filelisting"><a href="/articles/test articles/test2.article.html" class="icon">🗎</a><a href="/articles/test articles/test2.article.html">test2.article.html</a> 2022-07-28T19:56:08.82481Z gitpod 7667</div>
|
<div class="filelisting"><a href="/articles/test articles/test2.article.html" class="icon">🗎</a><a href="/articles/test articles/test2.article.html">test2.article.html</a> 2022-07-28T20:13:01.703924Z gitpod 7667</div>
|
||||||
<div class="filelisting"><a href="/articles/test articles/test3.article.html" class="icon">🗎</a><a href="/articles/test articles/test3.article.html">test3.article.html</a> 2022-07-28T19:56:08.82881Z gitpod 7880</div>
|
<div class="filelisting"><a href="/articles/test articles/test3.article.html" class="icon">🗎</a><a href="/articles/test articles/test3.article.html">test3.article.html</a> 2022-07-28T20:13:01.707924Z gitpod 7880</div>
|
||||||
|
|
||||||
</div> <!--End Content Body-->
|
</div> <!--End Content Body-->
|
||||||
<div class="codeForeground" id="codeForeground"></div>
|
<div class="codeForeground" id="codeForeground"></div>
|
||||||
|
@ -186,7 +186,7 @@ public class sigServer {
|
|||||||
int startPos=0;
|
int startPos=0;
|
||||||
String endText=s.substring(s.indexOf("~~")+"~~".length(),s.length());
|
String endText=s.substring(s.indexOf("~~")+"~~".length(),s.length());
|
||||||
s="";
|
s="";
|
||||||
for (int j=0;j<storedCodeBlock.length();j++) {
|
for (int j=0;j<storedCodeBlock.length()-1;j++) {
|
||||||
if (storedCodeBlock.charAt(j)=='\n'&&inString) {
|
if (storedCodeBlock.charAt(j)=='\n'&&inString) {
|
||||||
inString=false;
|
inString=false;
|
||||||
s+="</span>";
|
s+="</span>";
|
||||||
@ -305,6 +305,7 @@ public class sigServer {
|
|||||||
}
|
}
|
||||||
i+=1;
|
i+=1;
|
||||||
codeBlock=!codeBlock;
|
codeBlock=!codeBlock;
|
||||||
|
continue;
|
||||||
} else
|
} else
|
||||||
if (codeBlock) {
|
if (codeBlock) {
|
||||||
codeBlockMsg.append(finalMsg.charAt(i));continue;
|
codeBlockMsg.append(finalMsg.charAt(i));continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user