Closed Zacharymk1213 closed 1 month ago
Just fixed all the tests.
Closing this temporarily. There was a bug in resolving file paths if the inserted files and files the command is being run on are not in the same directory. Will reopen once certified that initially overlooked bugs like this are not extant
This pull request addresses https://github.com/jgm/djot.js/issues/85. Despite some of the tests in the functionality-spec.ts failing it is fully functional. (There are tests that fail. How do you want me to handle it? Should I rewrite them or can we just ignore them for now?) This can be verified using the attached test suite (test_files.zip). Just place the files from each test into the main djot directory and run test-pandoc.js, a copy of which is in each directory (despite the name this produces the ast,html and pandoc)
test_files.zip
Also see the broader test of a whole bunch of HTML elements html_elements_test.zip