Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Indexing Text which contains Soft Hyphens #8389

Closed
HermannAuer opened this issue Jul 3, 2016 · 5 comments
Closed

Indexing Text which contains Soft Hyphens #8389

HermannAuer opened this issue Jul 3, 2016 · 5 comments
Assignees
Labels
Milestone

Comments

@HermannAuer
Copy link

Search functions do not work on text which contain soft hyphens.

All soft hyphens must be completely removed before the indexer analyzes the text!

If there, for example, a text string "Ge­samt­kon­zept" is partitioned by Soft Hyphens into "Ge[-]samt[-]kon[-]zept" you cannot find "gesamtkonzept", you only can find "ge" or "samt" or "kon" or "zept". This is, of course, not helpful for the user.

On the other hand, I don't want to renounce the soft hyphens because long words in the German language would smash the layout on small screens. So I prefer to renounce the search function rather than the soft hyphens.

I use actually Contao 3.5.12 and xampp (Panel Version 3.2.2) with PHP 5.6.21.

@leofeyer leofeyer added the defect label Jul 3, 2016
@leofeyer leofeyer added this to the 3.5.15 milestone Jul 3, 2016
@asaage
Copy link

asaage commented Jul 4, 2016

On the other hand, I don't want to renounce the soft hyphens because long words in the German language would smash the layout on small screens.

must be difficult to edit hyphens in the BE for variable-width FE layouts.
possible workaround:
https://css-tricks.com/almanac/properties/h/hyphenate/
unfortunately no chrome and android browsersupport yet...
http://caniuse.com/#feat=css-hyphens

@aschempp
Copy link
Member

aschempp commented Jul 4, 2016

why do you think editing is difficult?

@asaage
Copy link

asaage commented Jul 4, 2016

just because you never know where ugly-looking linebreaks will occur in the front-end and dividing the whole text or only long words like that: "Ge[-]samt[-]kon[-]zept" seems cumbersome.

@HermannAuer
Copy link
Author

Ok, it may be cumbersome - this is the hard lot of deskmen. But i did so: everywhere where the German language rule allows a line break, I inserted a soft hyphen. ;-)

@leofeyer
Copy link
Member

Fixed in 92a33a7.

jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Jul 17, 2016
### 4.2.1 (2016-07-15)

 * Strip soft hyphens when indexing a page (see contao/core#8389).
 * Do not run the command scheduler if the installation is incomplete (see #541).
 * Do not index randomly ordered image galleries.
 * Fix the filter menu layout on mobile devices.
 * Provide the back end fonts in different variants (see #523).
 * Fix the message markup in the member templates.
 * Correctly load the language strings in the pretty error screen listener.
jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Jul 28, 2016
www/contao42: security update

Revisions pulled up:
- www/contao42/Makefile                                         1.2
- www/contao42/PLIST                                            1.2
- www/contao42/distinfo                                         1.2

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul 17 14:00:25 UTC 2016

   Modified Files:
   	pkgsrc/www/contao42: Makefile PLIST distinfo

   Log Message:
   Update contao42 to 4.2.1.

   ### 4.2.1 (2016-07-15)

    * Strip soft hyphens when indexing a page (see contao/core#8389).
    * Do not run the command scheduler if the installation is incomplete (see #541).
    * Do not index randomly ordered image galleries.
    * Fix the filter menu layout on mobile devices.
    * Provide the back end fonts in different variants (see #523).
    * Fix the message markup in the member templates.
    * Correctly load the language strings in the pretty error screen listener.


   To generate a diff of this commit:
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/contao42/Makefile \
       pkgsrc/www/contao42/PLIST pkgsrc/www/contao42/distinfo
jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Jan 4, 2017
www/contao42: security update

Revisions pulled up:
- www/contao42/Makefile                                         1.2
- www/contao42/PLIST                                            1.2
- www/contao42/distinfo                                         1.2

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul 17 14:00:25 UTC 2016

   Modified Files:
   	pkgsrc/www/contao42: Makefile PLIST distinfo

   Log Message:
   Update contao42 to 4.2.1.

   ### 4.2.1 (2016-07-15)

    * Strip soft hyphens when indexing a page (see contao/core#8389).
    * Do not run the command scheduler if the installation is incomplete (see #541).
    * Do not index randomly ordered image galleries.
    * Fix the filter menu layout on mobile devices.
    * Provide the back end fonts in different variants (see #523).
    * Fix the message markup in the member templates.
    * Correctly load the language strings in the pretty error screen listener.


   To generate a diff of this commit:
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/contao42/Makefile \
       pkgsrc/www/contao42/PLIST pkgsrc/www/contao42/distinfo
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Apr 18, 2017
www/contao42: security update

Revisions pulled up:
- www/contao42/Makefile                                         1.2
- www/contao42/PLIST                                            1.2
- www/contao42/distinfo                                         1.2

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul 17 14:00:25 UTC 2016

   Modified Files:
   	pkgsrc/www/contao42: Makefile PLIST distinfo

   Log Message:
   Update contao42 to 4.2.1.

   ### 4.2.1 (2016-07-15)

    * Strip soft hyphens when indexing a page (see contao/core#8389).
    * Do not run the command scheduler if the installation is incomplete (see #541).
    * Do not index randomly ordered image galleries.
    * Fix the filter menu layout on mobile devices.
    * Provide the back end fonts in different variants (see #523).
    * Fix the message markup in the member templates.
    * Correctly load the language strings in the pretty error screen listener.


   To generate a diff of this commit:
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/contao42/Makefile \
       pkgsrc/www/contao42/PLIST pkgsrc/www/contao42/distinfo
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Jun 9, 2017
www/contao42: security update

Revisions pulled up:
- www/contao42/Makefile                                         1.2
- www/contao42/PLIST                                            1.2
- www/contao42/distinfo                                         1.2

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul 17 14:00:25 UTC 2016

   Modified Files:
   	pkgsrc/www/contao42: Makefile PLIST distinfo

   Log Message:
   Update contao42 to 4.2.1.

   ### 4.2.1 (2016-07-15)

    * Strip soft hyphens when indexing a page (see contao/core#8389).
    * Do not run the command scheduler if the installation is incomplete (see #541).
    * Do not index randomly ordered image galleries.
    * Fix the filter menu layout on mobile devices.
    * Provide the back end fonts in different variants (see #523).
    * Fix the message markup in the member templates.
    * Correctly load the language strings in the pretty error screen listener.


   To generate a diff of this commit:
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/contao42/Makefile \
       pkgsrc/www/contao42/PLIST pkgsrc/www/contao42/distinfo
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Jun 22, 2017
www/contao42: security update

Revisions pulled up:
- www/contao42/Makefile                                         1.2
- www/contao42/PLIST                                            1.2
- www/contao42/distinfo                                         1.2

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul 17 14:00:25 UTC 2016

   Modified Files:
   	pkgsrc/www/contao42: Makefile PLIST distinfo

   Log Message:
   Update contao42 to 4.2.1.

   ### 4.2.1 (2016-07-15)

    * Strip soft hyphens when indexing a page (see contao/core#8389).
    * Do not run the command scheduler if the installation is incomplete (see #541).
    * Do not index randomly ordered image galleries.
    * Fix the filter menu layout on mobile devices.
    * Provide the back end fonts in different variants (see #523).
    * Fix the message markup in the member templates.
    * Correctly load the language strings in the pretty error screen listener.


   To generate a diff of this commit:
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/contao42/Makefile \
       pkgsrc/www/contao42/PLIST pkgsrc/www/contao42/distinfo
jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Jun 22, 2017
www/contao42: security update

Revisions pulled up:
- www/contao42/Makefile                                         1.2
- www/contao42/PLIST                                            1.2
- www/contao42/distinfo                                         1.2

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Jul 17 14:00:25 UTC 2016

   Modified Files:
   	pkgsrc/www/contao42: Makefile PLIST distinfo

   Log Message:
   Update contao42 to 4.2.1.

   ### 4.2.1 (2016-07-15)

    * Strip soft hyphens when indexing a page (see contao/core#8389).
    * Do not run the command scheduler if the installation is incomplete (see #541).
    * Do not index randomly ordered image galleries.
    * Fix the filter menu layout on mobile devices.
    * Provide the back end fonts in different variants (see #523).
    * Fix the message markup in the member templates.
    * Correctly load the language strings in the pretty error screen listener.


   To generate a diff of this commit:
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/contao42/Makefile \
       pkgsrc/www/contao42/PLIST pkgsrc/www/contao42/distinfo
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants