Skip to content
Snippets Groups Projects
  1. Feb 28, 2024
  2. Feb 09, 2024
  3. Jan 19, 2024
  4. Jan 15, 2024
  5. Jan 14, 2024
  6. Jan 13, 2024
  7. Jan 12, 2024
  8. Jan 10, 2024
  9. Jan 09, 2024
  10. Jan 05, 2024
  11. Jan 01, 2024
  12. Dec 30, 2023
  13. Dec 26, 2023
  14. Dec 22, 2023
  15. Dec 20, 2023
  16. Nov 27, 2023
  17. Nov 24, 2023
  18. Nov 10, 2023
  19. Nov 08, 2023
  20. Jul 12, 2023
    • Jan Haller's avatar
      ipa_haller_jan (WIP): Did some major refactoring for renderWiki() which now... · f3fed8dd
      Jan Haller authored
      ipa_haller_jan (WIP): Did some major refactoring for renderWiki() which now uses a DOMXPath() to iterate over the elements. This enables the modification of the DomDocument() during the iteration. DOMElements can now be created and inserted into the DomDocument() at their corresponding position (e.g. <div> containing link to edit a section, list with table of contents, etc.). With this approach the DOM as a whole can later be converted to HTML and returned instead of converting each element into HTML and returning it immediately. This solves several problems regarding nested elements (e.g. tables) and makes the code flexible. The macro '{{collapse()}}' needs to be replaced separately at the end because it is not possible while iterating over the elements. The functions loadWikiContent() and getWikiContentSection() have slightly been adjusted as well to deal with the problem of nested elements. With the current approach the functions iterate over each child of <body>. As a consequence, every heading element must be placed on the highest level, meaning it cannot be a child of a <div> for example. The function doNavigation() recursively creates a navigation from the current page to its parent and so on. Constants have been updated and a CSS rule for the navigation has been added. refs #15634
      f3fed8dd
  21. Jun 05, 2023
  22. Jun 02, 2023
  23. Apr 25, 2023
  24. Apr 21, 2023
  25. Mar 31, 2023
  26. Mar 22, 2023
  27. Mar 06, 2023
  28. Feb 17, 2023
  29. Feb 01, 2023
  30. Jan 11, 2023
  31. Dec 19, 2022
Loading