I'll revert. The pages are html, not xhtml so the old syntax is correct.

Actually, I see now that many pages lack the <html> top tag, probably causing 
Tika to assume xml when finding <head> as sirst element. See e.g. 
http://lucene.apache.org/index.html

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 13. feb. 2015 kl. 18.11 skrev Chris Hostetter <[email protected]>:
> 
> 
> Jan: I'm not sure if it was this commit, or one of hte other HTML related 
> commits you did arround the same time, but something has broken the 
> dynamic way the search box use to appear on the solr pages (as well as 
> pushing down & mucking with the spacing arround the "Solr is the 
> popular..." sentence)
> 
> If you know a quick fix that would be great, otherwise perhaps we should 
> revert these commits since the old HTML didn't seem to be hurting anything 
> and at least then the search button->box feature worked correctly.
> 
> 
> 
> : Date: Fri, 13 Feb 2015 10:35:13 -0000
> : From: [email protected]
> : Reply-To: [email protected]
> : To: [email protected]
> : Subject: svn commit: r1659492 - /lucene/cms/trunk/templates/_solr-head.html
> : 
> : Author: janhoy
> : Date: Fri Feb 13 10:35:13 2015
> : New Revision: 1659492
> : 
> : URL: http://svn.apache.org/r1659492
> : Log:
> : Fix bad HTML
> : 
> : Modified:
> :     lucene/cms/trunk/templates/_solr-head.html
> : 
> : Modified: lucene/cms/trunk/templates/_solr-head.html
> : URL: 
> http://svn.apache.org/viewvc/lucene/cms/trunk/templates/_solr-head.html?rev=1659492&r1=1659491&r2=1659492&view=diff
> : 
> ==============================================================================
> : --- lucene/cms/trunk/templates/_solr-head.html (original)
> : +++ lucene/cms/trunk/templates/_solr-head.html Fri Feb 13 10:35:13 2015
> : @@ -15,12 +15,12 @@
> :        See the License for the specific language governing permissions and
> :        limitations under the License.
> :    -->
> : -  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> : -  <meta name="viewport" content="minimal-ui, initial-scale=1, 
> maximum-scale=1, user-scalable=0">
> : +  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
> : +  <meta name="viewport" content="minimal-ui, initial-scale=1, 
> maximum-scale=1, user-scalable=0" />
> :  
> : -  <link 
> href='http://fonts.googleapis.com/css?family=Raleway:400,300,600,500' 
> rel='stylesheet' type='text/css'>
> : +  <link 
> href='http://fonts.googleapis.com/css?family=Raleway:400,300,600,500' 
> rel='stylesheet' type='text/css' />
> :  
> : -  <link 
> href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" 
> rel="stylesheet">
> : +  <link 
> href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" 
> rel="stylesheet" />
> :    <link rel="stylesheet" href="/solr/lib/foundation/styles/normalize.css" 
> />
> :    <link rel="stylesheet" 
> href="/solr/lib/foundation/styles/foundation.min.css"/>
> :    <link rel="stylesheet" 
> href="/solr/lib/foundation/styles/foundation-icons.css"/>
> : @@ -40,8 +40,8 @@
> :          search, information retrieval, spell checking, faceting, inverted 
> index, open source"/>{% endblock %}
> :  
> :    {% block favicon %}
> : -  <link rel="icon" href="/solr/assets/images/favicon.ico" 
> type="image/x-icon"> 
> : -  <link rel="shortcut icon" href="/solr/assets/images/favicon.ico" 
> type="image/x-icon"> 
> : +  <link rel="icon" href="/solr/assets/images/favicon.ico" 
> type="image/x-icon" /> 
> : +  <link rel="shortcut icon" href="/solr/assets/images/favicon.ico" 
> type="image/x-icon" /> 
> :    {% endblock %}
> :  
> :    {% include "_solr-javascript.html" %}
> : 
> : 
> : 
> 
> -Hoss
> http://www.lucidworks.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to