mirror of
https://github.com/ozavodny/obsidian-copy-inline-code-plugin.git
synced 2026-07-22 08:10:25 +00:00
Merge 124ce3f526 into 047ee2e7f3
This commit is contained in:
commit
faf517faaa
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ class CopyInlineCodeViewPlugin implements PluginValue {
|
|||
node.from,
|
||||
node.to
|
||||
);
|
||||
if (shouldExclude(codeText, filters)) {
|
||||
if (shouldExclude(codeText, filters) || node.to + 1 > view.state.doc.length) {
|
||||
return;
|
||||
}
|
||||
builder.add(
|
||||
|
|
|
|||
Loading…
Reference in a new issue