Skip to content

Commit 4127f7c

Browse files
authored
Update index.html
adds support for hex blobs
1 parent 5bdbcc3 commit 4127f7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126

127127

128128

129-
document.getElementById('sqlite').value = sqlite;
129+
document.getElementById('sqlite').value = sqlite.replaceAll(/0x(\w+)/ig, "X'$1'");
130130
}
131131
</script>
132132

@@ -143,4 +143,4 @@ <h1>SQLite result:</h1>
143143
<br>License: <a href="http://unlicense.org/">The Unlicense</a>, <a href="https://gist.github.com/ww9/4c4481fb7b55186960a34266078c88b1">Public Domain</a>. As free as it gets.</p>
144144
</body>
145145

146-
</html>
146+
</html>

0 commit comments

Comments
 (0)