This file is indexed.

/usr/share/tdiary/contrib/plugin/prettify.rb is in tdiary-contrib 3.2.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# prettify.rb

if /\A(?:latest|day|month|nyear)\z/ =~ @mode then
	add_header_proc do
		<<-HTML
		<link href="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.css" type="text/css" rel="stylesheet">
		<script type="text/javascript" src="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js"></script>
		<script type="text/javascript"><!--
			if(window.addEventListener){
				window.addEventListener("load", prettyPrint, false);
			}else if(window.attachEvent){
				window.attachEvent("onload", prettyPrint);
			}else{
				window.onload=prettyPrint;
			}
		// --></script>
		HTML
	end
end