libkiwix/src/server
renaud gaudin 7155c788e2 attach taskbar to `<head>` instead of `<head>\n`
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.
2020-04-03 16:53:43 +02:00
..
request_context.cpp Introduce the server functionality in the kiwix-lib. 2019-08-11 11:30:43 +02:00
request_context.h Introduce the server functionality in the kiwix-lib. 2019-08-11 11:30:43 +02:00
response.cpp attach taskbar to `<head>` instead of `<head>\n` 2020-04-03 16:53:43 +02:00
response.h moved blockExternalLink outside of taskbar 2020-03-27 11:25:39 +00:00