mirror of https://github.com/kiwix/libkiwix.git
Fixed a regression introduced in block-external-links feature. For cleaner source, the taskbar (and the block-external JS file) were both attached to `<head>\n`. Unfortunately, this isn't safe enough as some ZIM files might have all kinds of HTML syntax. Sotoki for instance have no CR after head, rendering the attachment impossible. Note: realizing this method is somehow fragile as any HTML content with extra attribute on the `<head>` tag or without a `<head>` tag would break the taskbar and the block external feature. |
||
---|---|---|
.. | ||
request_context.cpp | ||
request_context.h | ||
response.cpp | ||
response.h |