Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…08#20908)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2070 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
low012 committed May 8, 2006
1 parent bab9ee3 commit 35f9418
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/de/anomic/data/wikiCode.java
Expand Up @@ -690,7 +690,7 @@ private String linksAndImages(String result, plasmaSwitchboard switchboard){

// are there any arguments for the image?
if ((p = kl.indexOf("|")) > 0) {
kv = kl.substring(p + 1);
kv = kl.substring(p + 6);
kl = kl.substring(0, p);
// if there are 2 arguments, write them into ALIGN and ALT
if ((p = kv.indexOf("|")) > 0) {
Expand All @@ -707,7 +707,7 @@ private String linksAndImages(String result, plasmaSwitchboard switchboard){
align = " align=\"" + align + "\"";
}
else align = "";
alt = " alt=\"" + kv.substring(p + 1) + "\"";
alt = " alt=\"" + kv.substring(p + 6) + "\"";
}
// if there is just one, put it into ALT
else
Expand All @@ -730,7 +730,7 @@ private String linksAndImages(String result, plasmaSwitchboard switchboard){
// if it's no image, it might be an internal link
else {
if ((p = kl.indexOf("|")) > 0) {
kv = kl.substring(p + 1);
kv = kl.substring(p + 6);
kl = kl.substring(0, p);
} else {
kv = kl;
Expand Down

0 comments on commit 35f9418

Please sign in to comment.