Project

General

Profile

« Previous | Next » 

Revision 13703

web/username_prefix.php: user2path(): comment prefixes: documented how to put the comment on a separate line when word-wrapping (c-_:x@url). this format works in Google spreadsheets.

View differences:

trunk/web/username_prefix.php
15 15
	# remove any comment prefix: c:x@url -> x@url
16 16
	# *note*: when URL is used without http:// , you must include a non-letter
17 17
	#  in the comment (eg. c_:x@url) to work in Firefox
18
	# to put the comment on a separate line when word-wrapping, use c-_:x@url
19
	#  (the extra _ is needed to work in Google spreadsheets)
18 20
	$elems = explode(':', $path, 2);
19 21
	$path = array_pop($elems); # last (comment is first)
20 22
	

Also available in: Unified diff