scrap pad

first letter/first word

reasons we extracted the first letter and first word of "phrases" on pantextual programatically rather than with css:

  • css pseudo-classes aren't implemented in all browsers (though I think :first-letter is)
  • if the first character is a quote mark, we don't want that to be featured like a letter
  • there is no css pseudo-class for the first word

Archives

who I am