mirror of
https://github.com/skiqqy/skiqqy.github.io
synced 2025-01-10 16:29:31 +00:00
No blocks and blocks now supported
This commit is contained in:
parent
8e2e542514
commit
97401ebcf9
@ -1,9 +1,11 @@
|
||||
Title
|
||||
[
|
||||
No Box
|
||||
Newline, with a lot of text to test going to a newline, this is a must.
|
||||
New-Line.
|
||||
]
|
||||
(
|
||||
Hi this is tristan
|
||||
Hi this is skippy
|
||||
)
|
||||
(
|
||||
Another box
|
||||
|
@ -148,7 +148,34 @@ void parseBox() {
|
||||
}
|
||||
|
||||
void parseNoBox() {
|
||||
char cat[2];
|
||||
int i = 0;
|
||||
char *nl = "\n";
|
||||
int flag = 0;
|
||||
|
||||
append_html(" ");
|
||||
while (ch != ']' && ch != EOF) {
|
||||
cat[0] = ch;
|
||||
cat[1] = '\0';
|
||||
|
||||
if (i > 61) {
|
||||
if (ch != ',' && ch != ' ') {
|
||||
i = 0;
|
||||
if (!flag) {
|
||||
append_html("-");
|
||||
flag = 0;
|
||||
}
|
||||
append_html(nl);
|
||||
} else {
|
||||
flag = 1;
|
||||
}
|
||||
}
|
||||
|
||||
append_html(cat);
|
||||
next();
|
||||
i++;
|
||||
}
|
||||
append_html("\n");
|
||||
}
|
||||
|
||||
void append_html(char *str) {
|
||||
|
Loading…
Reference in New Issue
Block a user