anchor.diff:  				if(T.ptank) atmosanalyzer_scan(T.ptank.air_contents, user, T)
   
   	if (!scanmode && istype(A, /obj/item/weapon/paper) && owner)
  -		note = A:info
  -		user << "<span class='notice'>Paper scanned.</span>" //concept of scanning paper copyright brainoblivion 2009
  +		if (!A:info)
  +			user << "<span class='notice'>Unable to scan. Paper is blank.</span>"
  +			return
  +		notehtml = A:info
  +		note = replacetext(notehtml, "<BR>", "\[br\]")
  +		note = replacetext(note, "<li>", "\[*\]")
  +		note = replacetext(note, "<ul>", "\[list\]")
  +		note = replacetext(note, "</ul>", "\[/list\]")
  +		note = strip_html_properly(note)
  +		user << "<span class='notice'>Paper scanned. Saved to notekeeper.</span>" //concept of scanning paper copyright brainoblivion 2009
   
   
   /obj/item/device/pda/proc/explode() //This needs tuning.
  
positive.code: 				dat += "<a href='byond://?src=\ref[src];choice=Set Nick'>[nick]</a> | "
  				dat += "<a href='byond://?src=\ref[src];choice=Set Channel'>[chat_channel]</a> | "
  				dat += "<a href='byond://?src=\ref[src];choice=NTRC Message'>Write message</a> | "
  				dat += "<a href='byond://?src=\ref[src];choice=NTRC Help'>Help</a><br>"
  				if(chat_channel)
  					dat += ntrclog[chat_channel]
  
  
negative.code: //CHATROOM FUNCTIONS====================================
  
  			if("Set Nick")
  				var/n = stripped_input(U, "Please enter nickname", name, nick, 8)
  				if(n)
  					nick = n
  
  			if("Set Channel")
  				var/t = stripped_input(U, "Please enter channel", name, chat_channel, 15)
  				if(t)
  					var/datum/chatroom/C = chatchannels[chat_channel]
  					var/ret = C.parse_msg(src, nick, "/join [t]")
  