Anchor tags in Korean/Japanese text in Hyperlink clips the other text outside the tag - Advanced Installer Community
alco
Posts: 80
Joined: Thu Nov 18, 2010 5:02 pm

Anchor tags in Korean/Japanese text in Hyperlink clips the other text outside the tag

The screenshot below shows the issue in an actual installer.exe file when Korean language is selected at the start of the installer step.
Image
Those are the text that are enclosed in anchor <a></a> tags. The other text outside the tags got clipped.

The issue also seems to happen in the Dialog designer itself, as you can see in the screenshots below.
Image
Image

If I remove the anchor tags, the entire text get completely clipped.
Image

So the workaround for now is to enclose the whole text in anchor tags for the Korean & Japanese translations.

I'm not sure if this is already fixed in the latest AI version, but I'm using 16.9 and can't upgrade yet.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Anchor tags in Korean/Japanese text in Hyperlink clips the other text outside the tag

Hello,

Please note that this is the desired behavior. From the documentation:
The link label is specified by the “Text” control atrribute. To have only part of the label act as a link, you should mark the link part using the anchor HTML tags - <a> and </a>.
Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Anchor tags in Korean/Japanese text in Hyperlink clips the other text outside the tag

Hello,

Please ignore my last thread.

At a further look over the documentation, it looks like I misunderstood it.

You are indeed, right. The text should not be taken out.

I have tested this behavior and I can indeed confirm that the text outside of the anchors is taken out.

However, upon further testing, it looks like this is not happening due to the used characters (e.g. Japanese or Korean). This is happening because the anchor is placed at the start of the string, e.g.:

Code: Select all

<a>Hello</a> there
If the anchor is used in the middle of the string, this is no longer occuring, e.g.:

Code: Select all

Hello <a>there</a>
I will forward this to our development team and we will try to fix this in a future version of Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”