tiny update
This commit is contained in:
@ -23,7 +23,7 @@ def replace_img_src_base64(html, basepath):
|
|||||||
path, end = get_content_till(html, '"', start=index + len(tag_start))
|
path, end = get_content_till(html, '"', start=index + len(tag_start))
|
||||||
if ''.join(path).startswith('data:image/'):
|
if ''.join(path).startswith('data:image/'):
|
||||||
continue
|
continue
|
||||||
if ''.join(path).startswith(tuple(get_settings().get('load_from_internet'
|
if ''.join(path).startswith(tuple(get_settings().get('load_from_internet '
|
||||||
'_when_starts'))):
|
'_when_starts'))):
|
||||||
image = ImageManager.get(''.join(path))
|
image = ImageManager.get(''.join(path))
|
||||||
image = image or loading
|
image = image or loading
|
||||||
|
|||||||
53
sample.md
53
sample.md
@ -1,52 +1,5 @@
|
|||||||
# DuckDuckGo - The Search engine you'll fall in love
|
dfsdfsdf
|
||||||
|
|
||||||
Hope you'll enjoy using MarkdownLivePreview!
|
asdf
|
||||||
|
|
||||||
|
asfd
|
||||||
```python
|
|
||||||
print('Hello world')
|
|
||||||
if DEBUG:
|
|
||||||
print('DEBUG_MODE on')
|
|
||||||
```
|
|
||||||
|
|
||||||
> Only a fool knows everything. A wise man knows how little he knows
|
|
||||||
|
|
||||||
The only think I know right now is that Boxy Theme's just awesome.
|
|
||||||
|
|
||||||
t
|
|
||||||
|
|
||||||
h
|
|
||||||
|
|
||||||
i
|
|
||||||
|
|
||||||
s
|
|
||||||
|
|
||||||
-
|
|
||||||
|
|
||||||
i
|
|
||||||
|
|
||||||
s
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
-
|
|
||||||
|
|
||||||
a
|
|
||||||
|
|
||||||
-
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
t
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
e
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
s
|
|
||||||
|
|
||||||
t
|
|
||||||
|
|||||||
Reference in New Issue
Block a user