Skip to content

Commit 889f28e

Browse files
committed
TrixiEther | Dobrochan Rf 1.4 fixes
1 parent 8aea6d5 commit 889f28e

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

engines/vichan/src/chan/content/VichanChanMarkup.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
public class VichanChanMarkup extends ChanMarkup {
1111

12-
private static final int SUPPORTED_TAGS = TAG_BOLD | TAG_ITALIC | TAG_SPOILER | TAG_QUOTE;
12+
protected static final int SUPPORTED_TAGS = TAG_BOLD | TAG_ITALIC | TAG_SPOILER | TAG_QUOTE;
1313

1414
public VichanChanMarkup() {
1515
addTag("strong", TAG_BOLD);

engines/vichan/src/chan/content/VichanModelMapper.java

+1
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ public static FileAttachment createFileAttachment(VichanChanLocator locator, Str
236236
break;
237237
}
238238
case ".webp":
239+
case ".gif":
239240
case ".jpeg":
240241
case ".jpg": {
241242
thumbnailFile = tim + ".png";

extensions/refugedobrochan/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'chan-extension'
33
chan {
44
nameUpper 'RefugeDobrochan'
55
packageName 'com.trixiether.dashchan.chan.refugedobrochan'
6-
versionName '1.3'
6+
versionName '1.4'
77
apiVersion 1
88
hosts 'rf.dobrochan.net'
99
}

extensions/refugedobrochan/src/com/trixiether/dashchan/chan/refugedobrochan/RefugeDobrochanChanMarkup.java

+11
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,15 @@
33
import chan.content.VichanChanMarkup;
44

55
public class RefugeDobrochanChanMarkup extends VichanChanMarkup {
6+
7+
public RefugeDobrochanChanMarkup() {
8+
super();
9+
addTag("s", TAG_STRIKE);
10+
}
11+
12+
@Override
13+
public boolean isTagSupported(String boardName, int tag) {
14+
return ((SUPPORTED_TAGS | TAG_STRIKE) & tag) == tag;
15+
}
16+
617
}

0 commit comments

Comments
 (0)