Skip to content

Commit

Permalink
wip: Keep bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Amnesthesia committed Feb 20, 2025
1 parent 32a3849 commit f68d40c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sablon/content.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def append_to(paragraph, display_node, env)
def get_bookmarks(node)
node.children.filter_map do |field|
next unless field.name =~ /bookmark/
field
end
end

Expand Down

0 comments on commit f68d40c

Please sign in to comment.